On Wed Dec 4 19:43:13 2024 +0000, Brendan McGrath wrote:
From memory I ran in to a deadlock caused by this whilst testing. I found `IMFMediaSession_Shutdown` was re-entrant. Some of the callbacks ran within mfmediaengine as a result of the shutdown required the `cs` lock (causing a deadlock if already held).
Okay, hopefully we can resolve this better some day.