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. --- gst/modplug/gstmodplug.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/modplug/gstmodplug.cc') diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index 07a09a1c..fb3cd24e 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -683,7 +683,7 @@ gst_modplug_loop (GstElement *element) GstEvent *discont; discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME, value, NULL); - gst_pad_push (modplug->srcpad, GST_BUFFER (discont)); + gst_pad_push (modplug->srcpad, GST_DATA (discont)); modplug->need_discont= FALSE; } @@ -694,7 +694,7 @@ gst_modplug_loop (GstElement *element) GST_BUFFER_TIMESTAMP (buffer_out) = value; if (GST_PAD_IS_USABLE (modplug->srcpad)) - gst_pad_push (modplug->srcpad, buffer_out); + gst_pad_push (modplug->srcpad, GST_DATA (buffer_out)); } else if (GST_PAD_IS_LINKED (modplug->srcpad)) @@ -703,7 +703,7 @@ gst_modplug_loop (GstElement *element) gst_bytestream_flush (modplug->bs, 1); event = gst_event_new (GST_EVENT_EOS); - gst_pad_push (modplug->srcpad, GST_BUFFER (event)); + gst_pad_push (modplug->srcpad, GST_DATA (event)); gst_element_set_eos (element); modplug->eos = TRUE; } -- cgit v1.2.1