strmbase: We cannot hold the RenderLock during QualityControlRender_WaitFor.
This commit is contained in:
parent
5f38a1e1f7
commit
209bc696c1
|
@ -385,7 +385,9 @@ HRESULT WINAPI BaseRendererImpl_Receive(BaseRenderer *This, IMediaSample * pSamp
|
|||
if (This->pFuncsTable->pfnOnWaitStart)
|
||||
This->pFuncsTable->pfnOnWaitStart(This);
|
||||
|
||||
LeaveCriticalSection(&This->csRenderLock);
|
||||
hr = QualityControlRender_WaitFor(This->qcimpl, pSample, This->RenderEvent);
|
||||
EnterCriticalSection(&This->csRenderLock);
|
||||
|
||||
if (This->pFuncsTable->pfnOnWaitEnd)
|
||||
This->pFuncsTable->pfnOnWaitEnd(This);
|
||||
|
|
Loading…
Reference in New Issue