Commit d45456ce authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wineqtdecoder/qtvdecoder: Don't drop the "csReceive" mutex while calling IMemInputPin::Receive().

There's no reason to do this, and there may never have been. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b41b19ff
...@@ -235,9 +235,7 @@ static void trackingCallback( ...@@ -235,9 +235,7 @@ static void trackingCallback(
IMediaSample_SetTime(pOutSample, &tStart, &tStop); IMediaSample_SetTime(pOutSample, &tStart, &tStop);
} }
LeaveCriticalSection(&This->tf.csReceive);
hr = IMemInputPin_Receive(This->tf.source.pMemInputPin, pOutSample); hr = IMemInputPin_Receive(This->tf.source.pMemInputPin, 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment