strmbase: Fix race condition on InputPin_BeginFlush between csRenderLock and filter.csFilter.

This commit is contained in:
Erich E. Hoover 2014-07-17 10:28:42 -06:00 committed by Alexandre Julliard
parent 8128ddfac8
commit c22547792a
1 changed files with 1 additions and 1 deletions

View File

@ -130,8 +130,8 @@ static HRESULT WINAPI BaseRenderer_InputPin_BeginFlush(IPin * iface)
TRACE("(%p/%p)->()\n", This, iface);
EnterCriticalSection(&pFilter->filter.csFilter);
EnterCriticalSection(&pFilter->csRenderLock);
EnterCriticalSection(&pFilter->filter.csFilter);
EnterCriticalSection(This->pin.pCritSec);
hr = BaseInputPinImpl_BeginFlush(iface);
if (SUCCEEDED(hr))