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:
parent
b2b33c2623
commit
1b3d163208
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue