summaryrefslogtreecommitdiffstats
path: root/gst/auparse
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 /gst/auparse
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 'gst/auparse')
-rw-r--r--gst/auparse/gstauparse.c9
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));
}