Maarten Lankhorst : quartz: On flushing, always signal blocked event handle .
Alexandre Julliard
julliard at winehq.org
Wed Nov 10 11:09:37 CST 2010
Module: wine
Branch: master
Commit: bb8ccbd507972b08c28449dc33cb51f538c17e42
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb8ccbd507972b08c28449dc33cb51f538c17e42
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Tue Nov 9 23:42:40 2010 +0100
quartz: On flushing, always signal blocked event handle.
---
dlls/quartz/videorenderer.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index 871b71d..9645d83 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -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)
More information about the wine-cvs
mailing list