Aric Stewart : wineqtdecoder: Release the csReceive critical section before delivering a sample.
Alexandre Julliard
julliard at winehq.org
Mon Jan 23 13:01:13 CST 2012
Module: wine
Branch: master
Commit: 7d9ce823c3d668ca226df3ba9206aaadbf564a88
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d9ce823c3d668ca226df3ba9206aaadbf564a88
Author: Aric Stewart <aric at codeweavers.com>
Date: Mon Jan 23 08:43:53 2012 -0600
wineqtdecoder: Release the csReceive critical section before delivering a sample.
---
dlls/wineqtdecoder/qtvdecoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wineqtdecoder/qtvdecoder.c b/dlls/wineqtdecoder/qtvdecoder.c
index 79e06a5..8a41722 100644
--- a/dlls/wineqtdecoder/qtvdecoder.c
+++ b/dlls/wineqtdecoder/qtvdecoder.c
@@ -230,7 +230,9 @@ static void trackingCallback(
IMediaSample_SetTime(pOutSample, &tStart, &tStop);
}
+ LeaveCriticalSection(&This->tf.csReceive);
hr = BaseOutputPinImpl_Deliver((BaseOutputPin*)This->tf.ppPins[1], pOutSample);
+ EnterCriticalSection(&This->tf.csReceive);
if (hr != S_OK && hr != VFW_E_NOT_CONNECTED)
ERR("Error sending sample (%x)\n", hr);
More information about the wine-cvs
mailing list