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. --- gst/auparse/gstauparse.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gst/auparse') diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index f2ce8c85..744b5cb3 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -128,7 +128,7 @@ enum { static void gst_auparse_class_init (GstAuParseClass *klass); static void gst_auparse_init (GstAuParse *auparse); -static void gst_auparse_chain (GstPad *pad,GstBuffer *buf); +static void gst_auparse_chain (GstPad *pad,GstData *_data); static GstElementClass *parent_class = NULL; /*static guint gst_auparse_signals[LAST_SIGNAL] = { 0 }; */ @@ -184,8 +184,9 @@ gst_auparse_init (GstAuParse *auparse) } static void -gst_auparse_chain (GstPad *pad, GstBuffer *buf) +gst_auparse_chain (GstPad *pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstAuParse *auparse; gchar *data; glong size; @@ -305,11 +306,11 @@ gst_auparse_chain (GstPad *pad, GstBuffer *buf) gst_buffer_unref (buf); - gst_pad_push (auparse->srcpad, newbuf); + gst_pad_push (auparse->srcpad, GST_DATA (newbuf)); return; } - gst_pad_push (auparse->srcpad, buf); + gst_pad_push (auparse->srcpad, GST_DATA (buf)); } -- cgit