Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amend! mfmediaengine: Be a bit more conservative with locks in engine…
… Shutdown. mfmediaengine: Be a bit more conservative with locks in engine Shutdown. During engine shutdown we acquire engine lock first, then locks of its constituents (e.g. sample grabbers); whereas normally the order is the other way around (e.g. timer callback -> acquire sample grabber lock -> OnProcessSample callback -> engine lock). This is deadlock prone. With this commit, engine lock is released before we shutdown the inner media session.
- Loading branch information