Zebediah Figura : strmbase: Don't hold the streaming lock in IPin::BeginFlush().

Alexandre Julliard julliard at winehq.org
Thu Nov 28 16:02:20 CST 2019


Module: wine
Branch: master
Commit: 4be014239ccc3e04daa59690fbf25d29b823c067
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4be014239ccc3e04daa59690fbf25d29b823c067

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Wed Nov 27 19:27:18 2019 -0600

strmbase: Don't hold the streaming lock in IPin::BeginFlush().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/strmbase/renderer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/strmbase/renderer.c b/dlls/strmbase/renderer.c
index 50bd33715d..0ef9c5b225 100644
--- a/dlls/strmbase/renderer.c
+++ b/dlls/strmbase/renderer.c
@@ -115,7 +115,6 @@ static HRESULT WINAPI BaseRenderer_InputPin_BeginFlush(IPin * iface)
 
     TRACE("iface %p.\n", iface);
 
-    EnterCriticalSection(&pFilter->csRenderLock);
     EnterCriticalSection(&pFilter->filter.csFilter);
     hr = BaseInputPinImpl_BeginFlush(iface);
     if (SUCCEEDED(hr))
@@ -124,7 +123,6 @@ static HRESULT WINAPI BaseRenderer_InputPin_BeginFlush(IPin * iface)
         SetEvent(pFilter->flush_event);
     }
     LeaveCriticalSection(&pFilter->filter.csFilter);
-    LeaveCriticalSection(&pFilter->csRenderLock);
     return hr;
 }
 




More information about the wine-cvs mailing list