This MR:
- adds tests for additional subtypes when `MF_MT_USER_DATA` is missing; and
- modifies MFCreateWaveFormatExFromMFMediaType to pass these tests
--
v4: mfplat: Allow MF_MT_USER_DATA to be missing for all subtypes.
mfplat/tests: Add additional MFCreateWaveFormatExFromMFMediaType tests.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7417
On Thu Feb 27 18:51:13 2025 +0000, eric pouech wrote:
> the attached patch (on top of what you sent earlier on) should work as expected:
> * the annoying parts: console handles don't support overlapped mode, and
> input console handles are signaled when there's a pending event... but a
> pending event could be mouse move, window resize, ctrl key down & up...
> maybe that's the reason you always check it as signaled
> * so the attached patch waits on both console input handle and control c
> event, but has to discriminate when the console input handle is signaled
> whether there's an actual character or some other things
> * it's still racy at some places, but given the API I don't see a clean
> way to do it
> * [wait-con.patch](/uploads/a537c394d4b98165b791a7979ad3f8ca/wait-con.patch)
Thanks for the patch. Will check it out here.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7400#note_96144