mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
wineqtdecoder: Release the csReceive critical section before delivering a sample.
This commit is contained in:
parent
da0650a209
commit
7d9ce823c3
1 changed files with 2 additions and 0 deletions
|
@ -230,7 +230,9 @@ static void trackingCallback(
|
||||||
IMediaSample_SetTime(pOutSample, &tStart, &tStop);
|
IMediaSample_SetTime(pOutSample, &tStart, &tStop);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LeaveCriticalSection(&This->tf.csReceive);
|
||||||
hr = BaseOutputPinImpl_Deliver((BaseOutputPin*)This->tf.ppPins[1], pOutSample);
|
hr = BaseOutputPinImpl_Deliver((BaseOutputPin*)This->tf.ppPins[1], pOutSample);
|
||||||
|
EnterCriticalSection(&This->tf.csReceive);
|
||||||
if (hr != S_OK && hr != VFW_E_NOT_CONNECTED)
|
if (hr != S_OK && hr != VFW_E_NOT_CONNECTED)
|
||||||
ERR("Error sending sample (%x)\n", hr);
|
ERR("Error sending sample (%x)\n", hr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue