quartz/avidec: Call IMemInputPin::Receive() directly.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cb7f921177
commit
0509eb2904
|
@ -184,7 +184,7 @@ static HRESULT WINAPI AVIDec_Receive(TransformFilter *tf, IMediaSample *pSample)
|
|||
IMediaSample_SetMediaTime(pOutSample, NULL, NULL);
|
||||
|
||||
LeaveCriticalSection(&This->tf.csReceive);
|
||||
hr = BaseOutputPinImpl_Deliver(&This->tf.source, pOutSample);
|
||||
hr = IMemInputPin_Receive(This->tf.source.pMemInputPin, pOutSample);
|
||||
EnterCriticalSection(&This->tf.csReceive);
|
||||
if (hr != S_OK && hr != VFW_E_NOT_CONNECTED)
|
||||
ERR("Error sending sample (%x)\n", hr);
|
||||
|
|
Loading…
Reference in New Issue