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. --- tests/examples/spectrum/demo-osssrc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/examples/spectrum/demo-osssrc.c b/tests/examples/spectrum/demo-osssrc.c index 397b559b..1bd63ed4 100644 --- a/tests/examples/spectrum/demo-osssrc.c +++ b/tests/examples/spectrum/demo-osssrc.c @@ -3,7 +3,7 @@ extern gboolean _gst_plugin_spew; -void spectrum_chain(GstPad *pad,GstBuffer *buf); +void spectrum_chain(GstPad *pad,GstData *_data); gboolean idle_func(gpointer data); GtkWidget *drawingarea; @@ -62,7 +62,8 @@ int main(int argc,char *argv[]) { } -void spectrum_chain(GstPad *pad,GstBuffer *buf) { +void spectrum_chain(GstPad *pad,GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); gint i; guchar *data = buf->data; -- cgit