Commit bb8ccbd5 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: On flushing, always signal blocked event handle.

parent adabc4ae
......@@ -959,18 +959,11 @@ static HRESULT WINAPI VideoRenderer_InputPin_BeginFlush(IPin * iface)
{
BaseInputPin* This = (BaseInputPin*)iface;
VideoRendererImpl *pVideoRenderer = (VideoRendererImpl *)This->pin.pinInfo.pFilter;
HRESULT hr;
TRACE("(%p/%p)->()\n", This, iface);
EnterCriticalSection(This->pin.pCritSec);
if (pVideoRenderer->filter.state == State_Paused)
SetEvent(pVideoRenderer->blocked);
hr = BaseInputPinImpl_BeginFlush(iface);
LeaveCriticalSection(This->pin.pCritSec);
return hr;
SetEvent(pVideoRenderer->blocked);
return BaseInputPinImpl_BeginFlush(iface);
}
static HRESULT WINAPI VideoRenderer_InputPin_EndFlush(IPin * iface)
......
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