Commit 764bcdb1 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfreadwrite/writer: Start presentation clock on BeginWrite().

parent 974842f6
...@@ -237,6 +237,9 @@ static HRESULT WINAPI sink_writer_BeginWriting(IMFSinkWriter *iface) ...@@ -237,6 +237,9 @@ static HRESULT WINAPI sink_writer_BeginWriting(IMFSinkWriter *iface)
/* FIXME: notify the encoder */ /* FIXME: notify the encoder */
} }
if (SUCCEEDED(hr))
hr = IMFPresentationClock_Start(writer->clock, 0);
writer->state = SINK_WRITER_STATE_WRITING; writer->state = SINK_WRITER_STATE_WRITING;
} }
......
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