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/debug/efence.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gst/debug/efence.c') diff --git a/gst/debug/efence.c b/gst/debug/efence.c index 505be406..904ee73f 100644 --- a/gst/debug/efence.c +++ b/gst/debug/efence.c @@ -83,7 +83,7 @@ static void gst_efence_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); -static void gst_efence_chain (GstPad *pad, GstBuffer *buf); +static void gst_efence_chain (GstPad *pad, GstData *_data); static GstElementClass *parent_class = NULL; @@ -201,8 +201,9 @@ gst_efence_init (GstEFence *filter) */ static void -gst_efence_chain (GstPad *pad, GstBuffer *buffer) +gst_efence_chain (GstPad *pad, GstData *_data) { + GstBuffer *buffer = GST_BUFFER (_data); GstEFence *efence; GstBuffer *copy; void *ptr; @@ -231,7 +232,7 @@ gst_efence_chain (GstPad *pad, GstBuffer *buffer) GST_BUFFER_POOL_PRIVATE (copy) = NULL; gst_buffer_unref(buffer); - gst_pad_push (efence->srcpad, copy); + gst_pad_push (efence->srcpad, GST_DATA (copy)); } static void -- cgit