Rémi Bernon (@rbernon) commented about dlls/winegstreamer/media_sink.c:
LONG refcount; CRITICAL_SECTION cs;
- bool shutdown;
enum
{
STATE_OPENED,STATE_STARTED,STATE_STOPPED,STATE_PAUSED,STATE_SHUTDOWN,} state;
IMFByteStream *bytestream; IMFMediaEventQueue *event_queue;
DWORD async_queue;
Please don't use a custom queue, I know the media source does but it's a mistake and it should (and will) use the standard queues. You can probably use `MFASYNC_CALLBACK_QUEUE_STANDARD` here, or `MFASYNC_CALLBACK_QUEUE_MULTITHREADED`.