Skip to content
Snippets Groups Projects
Commit e2200b31 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard
Browse files

strmbase: Do not hold the csReceive lock when calling the transform's Receive function.

parent f624876d
Branches
Tags
No related merge requests found
......@@ -81,12 +81,12 @@ static HRESULT WINAPI TransformFilter_Input_Receive(BaseInputPin *This, IMediaSa
return S_FALSE;
}
LeaveCriticalSection(&pTransform->csReceive);
if (pTransform->pFuncsTable->pfnReceive)
hr = pTransform->pFuncsTable->pfnReceive(pTransform, pInSample);
else
hr = S_FALSE;
LeaveCriticalSection(&pTransform->csReceive);
return hr;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment