winegstreamer/gsttffilter: 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:
Zebediah Figura 2019-11-25 19:24:32 -06:00 committed by Alexandre Julliard
parent b2b33c2623
commit 1b3d163208
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ GstFlowReturn got_data(GstPad *pad, GstObject *parent, GstBuffer *buf)
IMediaSample_SetSyncPoint(sample, !GST_BUFFER_FLAG_IS_SET(buf, GST_BUFFER_FLAG_DELTA_UNIT)); IMediaSample_SetSyncPoint(sample, !GST_BUFFER_FLAG_IS_SET(buf, GST_BUFFER_FLAG_DELTA_UNIT));
IMediaSample_SetActualDataLength(sample, gst_buffer_get_size(buf)); IMediaSample_SetActualDataLength(sample, gst_buffer_get_size(buf));
hr = BaseOutputPinImpl_Deliver(&This->tf.source, sample); hr = IMemInputPin_Receive(This->tf.source.pMemInputPin, sample);
IMediaSample_Release(sample); IMediaSample_Release(sample);
gst_buffer_unref(buf); gst_buffer_unref(buf);
if (FAILED(hr)) if (FAILED(hr))