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.