mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +00:00
Allow all events, not just EOS
Original commit message from CVS: Allow all events, not just EOS
This commit is contained in:
parent
7ae94ad5c7
commit
ec2a1ad52a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-04-17 Iain <iain@prettypeople.org>
|
||||||
|
|
||||||
|
* gst/wavparse/gstwavparse.c (gst_wavparse_loop): Allow all events,
|
||||||
|
not just EOS.
|
||||||
|
|
||||||
2004-04-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
2004-04-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
|
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
|
||||||
|
|
|
@ -740,7 +740,7 @@ gst_wavparse_loop (GstElement * element)
|
||||||
guint32 remaining;
|
guint32 remaining;
|
||||||
|
|
||||||
gst_bytestream_get_status (bs, &remaining, &event);
|
gst_bytestream_get_status (bs, &remaining, &event);
|
||||||
if (event && GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
if (event) {
|
||||||
gst_pad_event_default (wavparse->sinkpad, event);
|
gst_pad_event_default (wavparse->sinkpad, event);
|
||||||
} else {
|
} else {
|
||||||
GST_ELEMENT_ERROR (element, RESOURCE, READ, (NULL), (NULL));
|
GST_ELEMENT_ERROR (element, RESOURCE, READ, (NULL), (NULL));
|
||||||
|
|
Loading…
Reference in a new issue