Commit cbf156b7 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mf: Preroll on sink start.

parent bd1bfd2c
......@@ -567,6 +567,8 @@ static HRESULT WINAPI audio_renderer_clock_sink_OnClockStart(IMFClockStateSink *
hr = MF_E_NOT_INITIALIZED;
IMFMediaEventQueue_QueueEventParamVar(renderer->stream_event_queue, MEStreamSinkStarted, &GUID_NULL, hr, NULL);
if (SUCCEEDED(hr))
audio_renderer_preroll(renderer);
LeaveCriticalSection(&renderer->cs);
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