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/goom/gstgoom.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gst/goom') diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index f571fc3f..31a9f05b 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -117,7 +117,7 @@ static void gst_goom_dispose (GObject *object); static GstElementStateReturn gst_goom_change_state (GstElement *element); -static void gst_goom_chain (GstPad *pad, GstBuffer *buf); +static void gst_goom_chain (GstPad *pad, GstData *_data); static GstPadLinkReturn gst_goom_sinkconnect (GstPad *pad, GstCaps *caps); static GstPadLinkReturn gst_goom_srcconnect (GstPad *pad, GstCaps *caps); @@ -268,8 +268,9 @@ gst_goom_negotiate_default (GstGOOM *goom) } static void -gst_goom_chain (GstPad *pad, GstBuffer *bufin) +gst_goom_chain (GstPad *pad, GstData *_data) { + GstBuffer *bufin = GST_BUFFER (_data); GstGOOM *goom; GstBuffer *bufout; guint32 samples_in; @@ -344,7 +345,7 @@ gst_goom_chain (GstPad *pad, GstBuffer *bufin) goom->next_time += GST_SECOND / goom->fps; - gst_pad_push (goom->srcpad, bufout); + gst_pad_push (goom->srcpad, GST_DATA (bufout)); done: gst_buffer_unref (bufin); -- cgit