mf/session: Forward more events to the application.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-04-12 12:19:55 +03:00 committed by Alexandre Julliard
parent 6ff7575ae8
commit 662095c6b3
1 changed files with 7 additions and 0 deletions

View File

@ -3242,6 +3242,13 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
LeaveCriticalSection(&session->cs); LeaveCriticalSection(&session->cs);
break; break;
case MEExtendedType:
case MERendererEvent:
case MEStreamSinkFormatChanged:
IMFMediaEventQueue_QueueEvent(session->event_queue, event);
break;
case MENewStream: case MENewStream:
stream = (IMFMediaStream *)value.punkVal; stream = (IMFMediaStream *)value.punkVal;