summaryrefslogtreecommitdiffstats
path: root/ext/mikmod
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:08:18 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:08:18 +0000
commitf2d5cae8daade402e9d74a829d2b87283167aaa7 (patch)
treecbb13b82d43fa41ffaf6c93973e80c2f620ebf8e /ext/mikmod
parent9246e543319c072c52fffa51259a2cf927c8dd43 (diff)
/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 'ext/mikmod')
-rw-r--r--ext/mikmod/drv_gst.c2
-rw-r--r--ext/mikmod/gstmikmod.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/mikmod/drv_gst.c b/ext/mikmod/drv_gst.c
index 57080462..122de610 100644
--- a/ext/mikmod/drv_gst.c
+++ b/ext/mikmod/drv_gst.c
@@ -51,7 +51,7 @@ static void mikmod_Update( void )
/* FIXME, send a flush event or something */
need_sync = 0 ;
}
- gst_pad_push( srcpad, outdata );
+ gst_pad_push( srcpad, GST_DATA (outdata ));
}
diff --git a/ext/mikmod/gstmikmod.c b/ext/mikmod/gstmikmod.c
index 6ef507c2..32808a8e 100644
--- a/ext/mikmod/gstmikmod.c
+++ b/ext/mikmod/gstmikmod.c
@@ -290,7 +290,7 @@ gst_mikmod_loop (GstElement *element)
srcpad = mikmod->srcpad;
mikmod->Buffer = NULL;
- while ((buffer_in = gst_pad_pull( mikmod->sinkpad ))) {
+ while ((buffer_in = GST_BUFFER (gst_pad_pull( mikmod->sinkpad )))) {
if ( GST_IS_EVENT (buffer_in) ) {
GstEvent *event = GST_EVENT (buffer_in);
@@ -338,7 +338,7 @@ gst_mikmod_loop (GstElement *element)
}
else {
gst_element_set_eos (GST_ELEMENT (mikmod));
- gst_pad_push (mikmod->srcpad, GST_BUFFER (gst_event_new (GST_EVENT_EOS)));
+ gst_pad_push (mikmod->srcpad, GST_DATA (gst_event_new (GST_EVENT_EOS))));
}
}