From c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:19 +0000 Subject: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. --- ext/mplex/gstmplex.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/mplex') diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 03cc6e8d..8f8a94a3 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -392,7 +392,7 @@ gst_mplex_write_callback (PS_Stream *stream, uint8_t *data, size_t size, void *u outbuf = gst_buffer_new_and_alloc (size); memcpy (GST_BUFFER_DATA (outbuf), data, size); - gst_pad_push (mplex->srcpad, outbuf); + gst_pad_push (mplex->srcpad, GST_DATA (outbuf)); } return size; @@ -476,7 +476,7 @@ gst_mplex_loop (GstElement *element) case GST_MPLEX_END: { mplex->ostrm->Close (); - gst_pad_push (mplex->srcpad, GST_BUFFER (gst_event_new (GST_EVENT_EOS))); + gst_pad_push (mplex->srcpad, GST_DATA (gst_event_new (GST_EVENT_EOS))); gst_element_set_eos (element); break; } -- cgit v1.2.1