[Git][wine/wine][master] mf/session: Discard end of presentation on IMFMediaSession_Stop.

"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Thu, 22 Jan 2026 16:27:04 -0600
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

Alexandre Julliard pushed to branch master at wine / wine


Commits:
bf8fec87 by Rémi Bernon at 2026-01-22T23:17:10+01:00
mf/session: Discard end of presentation on IMFMediaSession_Stop.

Some games calls IMFMediaSession_Stop while the presentation is ending,
expects that command to quickly execute, interrupting the presentation
end and emitting a MESessionStopped event instead of the MESessionEnded.

Delaying the Stop command and emitting the MESessionEnded event breaks
the game assumptions and it crashes, or waits for the MESessionStopped
event forever.

- - - - -


1 changed file:

- dlls/mf/session.c


View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/bf8fec87a81cf0120df2643495093d14cfa2f094

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/bf8fec87a81cf0120df2643495093d14cfa2f094
You're receiving this email because of your account on gitlab.winehq.org.