First change also avoids a leak of classes (later activates) when the transform is successfully connected.
The use of MFTEnumEx is necessary so that the tests work, as they use a locally registered transform.
--
v2: mfreadwrite/tests: Test the D3D awareness of source reader transforms.
mfreadwrite/tests: Test the source reader stream change events.
mfreadwrite/reader: Make the GetTransformForStream category parameter optional.
mfreadwrite/reader: Use MFTEnumEx to enumerate stream transforms.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5412
Thanks for the update. It doesn't happen automatically, no. It's manually merged from time to time, and I think only at a point of tagged releases. For FAudio that would mean next 24.05 release, in about a month.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5424#note_66634
This finally solves a FIXME that was added back in 1997.
NFS High Stakes (and Motor City Online) both emit a 0x190 access
violation on startup (according to game's strings this was meant
to be debugger detection; I think this was done to interfere in
a DRM bypass but I'm probably wrong).
But anyway that feature causes a Wine Debugger dialog to appear
when starting the games (if you click "Show Details" though they
suddenly start working normally but this is an extra annoyance
for average people who just want to play the game).
This change prevents that by not starting the debugger if the
SEM_NOGPFAULTERRORBOX flag is set (if that flag wasn't set then
people would be complaining about the game crashing every time)
which lets the exception silently go through (it can still be seen
with WINEDEBUG=+seh set though).
I'm not sure how I can test for this exception handling behavior
(I'm thinking of calling RaiseException() inside a __try/__except
block but that might not be exactly what the games are doing).
This patch was originally posted by Zeb in a diff form (so the
patch description has been written by me, DodoGTA).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4567