mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-28 14:52:24 +00:00
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:
parent
0de6f6fb67
commit
d62ff7576e
1 changed files with 2 additions and 13 deletions
|
@ -156,19 +156,8 @@ gst_bytestream_get_next_buf (GstByteStream *bs)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (GST_IS_EVENT (nextbuf)) {
|
if (GST_IS_EVENT (nextbuf)) {
|
||||||
GstEvent *event = GST_EVENT (nextbuf);
|
bs->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;
|
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GST_BUFFER_TIMESTAMP_IS_VALID (nextbuf))
|
if (GST_BUFFER_TIMESTAMP_IS_VALID (nextbuf))
|
||||||
|
|
Loading…
Reference in a new issue