Commit 9d004b84 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mf: Subscribe for next pipeline object event after processing current one.

parent f4280cc0
......@@ -1416,6 +1416,10 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
failed:
if (event)
IMFMediaEvent_Release(event);
if (FAILED(hr = IMFMediaEventGenerator_BeginGetEvent(event_source, iface, (IUnknown *)event_source)))
WARN("Failed to re-subscribe, hr %#x.\n", hr);
IMFMediaEventGenerator_Release(event_source);
return hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment