Reverting my fix so that ronald can fix rifflib

Original commit message from CVS:
Reverting my fix so that ronald can fix rifflib
This commit is contained in:
Julien Moutte 2004-01-30 12:00:28 +00:00
parent 0de6f6fb67
commit d62ff7576e

View file

@ -156,19 +156,8 @@ gst_bytestream_get_next_buf (GstByteStream *bs)
return FALSE;
if (GST_IS_EVENT (nextbuf)) {
GstEvent *event = GST_EVENT (nextbuf);
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS:
case GST_EVENT_DISCONTINUOUS:
GST_DEBUG ("get_next_buf: received EOS event.");
bs->event = event;
return FALSE;
default:
GST_DEBUG ("get_next_buf: received event %d, forwarding",
GST_EVENT_TYPE (event));
gst_pad_event_default (bs->pad, event);
return TRUE;
}
bs->event = GST_EVENT (nextbuf);
return FALSE;
}
if (GST_BUFFER_TIMESTAMP_IS_VALID (nextbuf))