Alexandre Julliard pushed to branch master at wine / wine
Commits: 811a7aae by Brendan McGrath at 2025-04-01T22:36:07+02:00 mfplat/tests: Fix crash in MFShutdown on Windows.
It seems Windows will crash on a subsequent call to MFShutdown if a local byte/scheme handler is registered outside corresponding calls to MFStartup/MFShutdown.
- - - - - ce5aa686 by Brendan McGrath at 2025-04-01T22:36:07+02:00 mfplat/tests: Fix leak of media events.
- - - - - f6980ad7 by Brendan McGrath at 2025-04-01T22:36:07+02:00 mfplat/tests: Fix leak of media source.
If IMFMediaSource::Shutdown is not called, then the streams are not released and they continue to hold a reference to the IMFMediaSource, so the reference count of the source never reaches 0.
- - - - - bf5eec8a by Brendan McGrath at 2025-04-01T22:36:07+02:00 winegstreamer: Allow NULL for time_format.
Allow the value of pguidTimeFormat to be NULL on a call to IMFMediaSource::Start. Currently, if NULL is used, Wine crashes with a SIGSEGV.
MS documentation states: This parameter can be NULL. If the value is NULL, it is equivalent to GUID_NULL.
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-imfmedias...
- - - - - 469984b4 by Brendan McGrath at 2025-04-01T22:36:07+02:00 mfsrcsnk: Allow NULL for time_format.
Allow the value of pguidTimeFormat to be NULL on a call to IMFMediaSource::Start. Currently, if NULL is used, Wine crashes with a SIGSEGV.
MS documentation states: This parameter can be NULL. If the value is NULL, it is equivalent to GUID_NULL.
https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-imfmedias...
- - - - -
3 changed files:
- dlls/mfplat/tests/mfplat.c - dlls/mfsrcsnk/media_source.c - dlls/winegstreamer/media_source.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/fc3f2618849a161b61e905b3239d4e...