quartz: Call run before pausing in transform filter.
This commit is contained in:
parent
86393897a8
commit
e47bc7725e
|
@ -337,7 +337,7 @@ static HRESULT WINAPI TransformFilter_Pause(IBaseFilter * iface)
|
||||||
EnterCriticalSection(&This->csFilter);
|
EnterCriticalSection(&This->csFilter);
|
||||||
{
|
{
|
||||||
if (This->state == State_Stopped)
|
if (This->state == State_Stopped)
|
||||||
((InputPin *)This->ppPins[0])->end_of_stream = 0;
|
IBaseFilter_Run(iface, -1);
|
||||||
|
|
||||||
This->state = State_Paused;
|
This->state = State_Paused;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue