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/monoscope/gstmonoscope.c | |
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/monoscope/gstmonoscope.c')
-rw-r--r-- | gst/monoscope/gstmonoscope.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 13a6099b..a87414ac 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -124,7 +124,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_template, static void gst_monoscope_class_init (GstMonoscopeClass *klass); static void gst_monoscope_init (GstMonoscope *monoscope); -static void gst_monoscope_chain (GstPad *pad, GstBuffer *buf); +static void gst_monoscope_chain (GstPad *pad, GstData *_data); static GstPadLinkReturn gst_monoscope_sinkconnect (GstPad *pad, GstCaps *caps); @@ -250,8 +250,9 @@ gst_monoscope_srcconnect (GstPad *pad, GstCaps *caps) } static void -gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) +gst_monoscope_chain (GstPad *pad, GstData *_data) { + GstBuffer *bufin = GST_BUFFER (_data); GstMonoscope *monoscope; GstBuffer *bufout; guint32 samples_in; @@ -300,7 +301,7 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) monoscope->next_time += GST_SECOND / monoscope->fps; - gst_pad_push (monoscope->srcpad, bufout); + gst_pad_push (monoscope->srcpad, GST_DATA (bufout)); gst_buffer_unref (bufin); |