summaryrefslogtreecommitdiffstats
path: root/gst/modplug
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
commitc07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 (patch)
tree88f65b715d1fa83677b13286b3681a6096b5dcf2 /gst/modplug
parent69edaac422d50a0e365fae15d354c07c0f5419d4 (diff)
downloadgst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.gz
gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.bz2
gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.zip
/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.
Diffstat (limited to 'gst/modplug')
-rw-r--r--gst/modplug/gstmodplug.cc6
1 files changed, 3 insertions, 3 deletions
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;
}