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. --- ext/flac/gstflacdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/flac/gstflacdec.c') diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c index c11be9f6..ea7b0576 100644 --- a/ext/flac/gstflacdec.c +++ b/ext/flac/gstflacdec.c @@ -451,7 +451,7 @@ gst_flacdec_write (const FLAC__SeekableStreamDecoder *decoder, GST_FORMAT_DEFAULT, flacdec->total_samples, NULL); - gst_pad_push (flacdec->srcpad, GST_BUFFER (discont)); + gst_pad_push (flacdec->srcpad, GST_DATA (discont)); } } } @@ -502,7 +502,7 @@ gst_flacdec_write (const FLAC__SeekableStreamDecoder *decoder, g_warning ("flacdec: invalid depth %d found\n", depth); return FLAC__STREAM_DECODER_WRITE_STATUS_ABORT; } - gst_pad_push (flacdec->srcpad, outbuf); + gst_pad_push (flacdec->srcpad, GST_DATA (outbuf)); } flacdec->total_samples += samples; @@ -555,7 +555,7 @@ gst_flacdec_loop (GstElement *element) if (GST_PAD_IS_USABLE (flacdec->srcpad)) { event = gst_event_new (GST_EVENT_EOS); - gst_pad_push (flacdec->srcpad, GST_BUFFER (event)); + gst_pad_push (flacdec->srcpad, GST_DATA (event)); } gst_element_set_eos (element); } -- cgit