From c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:19 +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/festival/gstfestival.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gst/festival/gstfestival.c') diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 4113410a..31484364 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -82,7 +82,7 @@ static void gst_festival_init (GstFestival *festival); static GstCaps* text_type_find (GstByteStream *bs, gpointer private); -static void gst_festival_chain (GstPad *pad, GstBuffer *buf); +static void gst_festival_chain (GstPad *pad, GstData *_data); static GstElementStateReturn gst_festival_change_state (GstElement *element); @@ -231,8 +231,9 @@ text_type_find (GstByteStream *bs, gpointer private) static void -gst_festival_chain (GstPad *pad, GstBuffer *buf) +gst_festival_chain (GstPad *pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); gchar *wavefile; int filesize; FILE *fd; @@ -302,7 +303,7 @@ gst_festival_chain (GstPad *pad, GstBuffer *buf) "channels", GST_PROPS_INT (1) )); } - gst_pad_push (festival->srcpad, outbuf); + gst_pad_push (festival->srcpad, GST_DATA (outbuf)); wavefile = NULL; } -- cgit v1.2.1