mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 01:49:16 +00:00
mf/samplegrabber: Process samples in paused state in ignore_clock mode.
This commit is contained in:
parent
dd13bbb57b
commit
af9f2e8b2e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue