summaryrefslogtreecommitdiff
path: root/gst/festival
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
commitc07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 (patch)
tree88f65b715d1fa83677b13286b3681a6096b5dcf2 /gst/festival
parent69edaac422d50a0e365fae15d354c07c0f5419d4 (diff)
downloadgstreamer-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.gz
/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/festival')
-rw-r--r--gst/festival/gstfestival.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c
index 4113410a3..314843645 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;
}