mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
strmbase: Do not hold the csReceive lock when calling the transform's Receive function.
This commit is contained in:
parent
f624876d3e
commit
e2200b31d6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue