Module: wine Branch: master Commit: 66eb752fe50fc70bfc228834f0b65b6a02443099 URL: https://source.winehq.org/git/wine.git/?a=commit;h=66eb752fe50fc70bfc228834f...
Author: Zebediah Figura z.figura12@gmail.com Date: Fri Nov 22 21:14:03 2019 -0600
quartz/acmwrapper: 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: Zebediah Figura z.figura12@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/quartz/acmwrapper.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/quartz/acmwrapper.c b/dlls/quartz/acmwrapper.c index 9e818579df..64e0018980 100644 --- a/dlls/quartz/acmwrapper.c +++ b/dlls/quartz/acmwrapper.c @@ -202,10 +202,7 @@ static HRESULT WINAPI ACMWrapper_Receive(TransformFilter *tf, IMediaSample *pSam
TRACE("Sample stop time: %u.%03u\n", (DWORD)(tStart/10000000), (DWORD)((tStart/10000)%1000));
- LeaveCriticalSection(&This->tf.csReceive); hr = IMemInputPin_Receive(This->tf.source.pMemInputPin, pOutSample); - EnterCriticalSection(&This->tf.csReceive); - if (hr != S_OK && hr != VFW_E_NOT_CONNECTED) { if (FAILED(hr)) ERR("Error sending sample (%x)\n", hr);