mf/session: Forward MEReconnect* 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:
parent
a2728cdece
commit
6ff7575ae8
|
@ -3233,6 +3233,15 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
|
|||
LeaveCriticalSection(&session->cs);
|
||||
break;
|
||||
|
||||
case MEReconnectStart:
|
||||
case MEReconnectEnd:
|
||||
|
||||
EnterCriticalSection(&session->cs);
|
||||
if (session_get_media_source(session, (IMFMediaSource *)event_source))
|
||||
IMFMediaEventQueue_QueueEvent(session->event_queue, event);
|
||||
LeaveCriticalSection(&session->cs);
|
||||
break;
|
||||
|
||||
case MENewStream:
|
||||
stream = (IMFMediaStream *)value.punkVal;
|
||||
|
||||
|
|
Loading…
Reference in New Issue