On Mon Jun 23 10:02:49 2025 +0000, Rémi Bernon wrote:
And we should get rid of IMFMediaShutdownNotify, I think I missed when
it was added. We should not need any custom interfaces to handle this. IIRC it was required because shutting down the source also shuts down its event queue, it's then not possible for the session to be reliably notified of the shutdown without a dedicated callback. I believe @cmccarthy checked that it's also using a direct callback on Windows.
I wasn't able to prove it uses a callback, but it definitely has some means for notifying the session, and it wasn't the event queue.