diff options
Diffstat (limited to 'gst/auparse')
| -rw-r--r-- | gst/auparse/gstauparse.c | 9 |
1 files changed, 5 insertions, 4 deletions
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)); } |
