From: Wim T. <wt...@us...> - 2001-12-28 20:24:43
|
Update of /cvsroot/gstreamer/gst-plugins/ext/audiofile In directory usw-pr-cvs1:/tmp/cvs-serv7152/ext/audiofile Modified Files: gstafsrc.c Log Message: Fixed some plugins Index: gstafsrc.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/ext/audiofile/gstafsrc.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstafsrc.c 2001/12/22 23:57:40 1.2 +++ gstafsrc.c 2001/12/28 20:24:40 1.3 @@ -215,8 +215,8 @@ 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; |