diff options
author | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:18 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:18 +0000 |
commit | f2d5cae8daade402e9d74a829d2b87283167aaa7 (patch) | |
tree | cbb13b82d43fa41ffaf6c93973e80c2f620ebf8e /gst/goom | |
parent | 9246e543319c072c52fffa51259a2cf927c8dd43 (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/goom')
-rw-r--r-- | gst/goom/gstgoom.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); |