mf: Subscribe for next pipeline object event after processing current one.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f4280cc04d
commit
9d004b8466
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue