From f2d5cae8daade402e9d74a829d2b87283167aaa7 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:18 +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/mikmod/drv_gst.c | 2 +- ext/mikmod/gstmikmod.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/mikmod') 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)))); } } -- cgit