Commit af9f2e8b authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

mf/samplegrabber: Process samples in paused state in ignore_clock mode.

parent dd13bbb5
......@@ -425,7 +425,7 @@ static HRESULT WINAPI sample_grabber_stream_ProcessSample(IMFStreamSink *iface,
if (grabber->is_shut_down)
hr = MF_E_STREAMSINK_REMOVED;
else if (grabber->state == SINK_STATE_RUNNING)
else if (grabber->state == SINK_STATE_RUNNING || (grabber->state == SINK_STATE_PAUSED && grabber->ignore_clock))
{
hr = IMFSample_GetSampleTime(sample, &sampletime);
......
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