April 30, 2026
3:51 a.m.
On Wed Apr 29 22:25:21 2026 +0000, Nikolay Sivov wrote:
If it's easy to try as a standalone test, it sounds worth it. We shouldn't rely on whatever happens in SAR. I made a test app with my own `IMFMediaSink` and `IMFPresentationTimeSource`, and had it obtain a critical section in the `PresentationTimeSource::GetCorrelatedTime` and `IMFMediaSink::Shutdown` functions.
This resulted in a deadlock when ran it on Wine, but it had no issues when ran on Windows. If I apply this MR to Wine, the deadlock is fixed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10715#note_138303