I *think* this will fix the test timeouts that happen on Gitlab since https://gitlab.winehq.org/wine/wine/-/merge_requests/5262.
I'm not completely sure that it will, because the failure is very elusive and somehow only happening on Gitlab CI, but there's a logic behind it: we were previously enumerating monitors from the adapters we found, so every monitor enumerated had a matching adapter. We are now enumerating monitors directly, and matching their adapter next.
How we then end up with a monitor without a matching adapter is still unclear, but I think it's better to fix it like this for now, as it is plaguing MRs with failures and long timeouts.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5368
On Wed Mar 13 14:02:46 2024 +0000, Akihiro Sagawa wrote:
> Reading ImmSetActiveContext() in dlls/imm32/imm.c, it initializes COM
> with the COINIT_APARTMENTTHREADED parameter, not COINIT_MULTITHREADED.
> My test shows that IDirectSound::Initialize() creates a multithread apartment.
> Could you share your thoughts on this point?
If observed state is different then it's probably not coming from imm32/user32, yes.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5250#note_65538
--
v3: mfplat/mediatype: Use MFCreateWaveFormatExFromMFMediaType in init_am_media_type_audio_format.
mfplat/mediatype: Implement MFCreateMediaTypeFromRepresentation.
mfplat/mediatype: Force WAVEFORMATEXTENSIBLE in MFCreateWaveFormatExFromMFMediaType in some cases.
mfplat/mediatype: Support audio major type in MFInitMediaTypeFromAMMediaType.
mfplat/mediatype: Check format pointers and sizes in MFInitMediaTypeFromAMMediaType.
mfplat/tests: Check how AAC attributes are copied from user data.
mfplat/tests: Test initializing mediatype from AAC WAVEFORMATEXTENSIBLE.
mfplat/tests: Add some broken results for Win7.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5362