Alexandre Julliard pushed to branch master at wine / wine
Commits: 0ea285c5 by Conor McCarthy at 2024-12-06T11:20:04+01:00 winegstreamer: Return the result code from media_source_Pause().
- - - - - d3d3b2c1 by Conor McCarthy at 2024-12-06T11:20:04+01:00 mf/tests: Add tests for shutting down a media source used in a session.
- - - - - 50047002 by Conor McCarthy at 2024-12-06T11:20:04+01:00 mf: Handle media source EndGetEvent() failure due to shutdown.
Windows robustly handles asynchronous shutdown of a media source used in a session.
- - - - - ffad0d2f by Conor McCarthy at 2024-12-06T11:20:06+01:00 mf: Handle media source BeginGetEvent() failure due to shutdown.
- - - - - fe598380 by Conor McCarthy at 2024-12-06T11:20:06+01:00 mf: Handle media source event subscription failure due to source shutdown.
- - - - - 30a72a2c by Conor McCarthy at 2024-12-06T11:20:06+01:00 mf: Handle media source Start() failure due to source shutdown.
- - - - - a7d5b7f5 by Conor McCarthy at 2024-12-06T11:20:06+01:00 mf: Introduce IMFMediaShutdownNotify for notification of media source shutdown.
Native Windows robustly handles unexpected shutdown of a media source used in a session, and always sends MESessionStarted with an error status, but if the native source is contained within a wrapper source object, MESessionStarted is never sent even if BeginGetEvent() fails with MF_E_SHUTDOWN, which should be easily handled. This implies that Windows uses a private interface for shutdown notification, and its proper functioning is disrupted when the source is wrapped.
- - - - - efb369f5 by Conor McCarthy at 2024-12-06T11:20:08+01:00 winegstreamer: Send media source shutdown notification via IMFMediaShutdownNotify.
- - - - -
4 changed files:
- dlls/mf/session.c - dlls/mf/tests/mf.c - dlls/winegstreamer/media_source.c - include/wine/mfinternal.idl
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/a1627e3c40a747e122ffb4ad22da79...