From 42cc21cd97016d4aa8ecc6d8c80b0dbd8780f975 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 28 Dec 2001 20:24:41 +0000 Subject: Fixed some plugins Original commit message from CVS: Fixed some plugins --- ext/audiofile/gstafsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/audiofile') diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index b6538a6d..0d4e261f 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -215,8 +215,8 @@ gst_afsrc_get (GstPad *pad) frameCount); readbytes = readframes * (src->channels * src->width / 8); if (readbytes == 0) { - gst_element_signal_eos (GST_ELEMENT (src)); - return NULL; + gst_element_set_eos (GST_ELEMENT (src)); + return GST_BUFFER (gst_event_new (GST_EVENT_EOS)); } GST_BUFFER_SIZE (buf) = readbytes; -- cgit v1.2.1