mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +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>
|
||||
|
||||
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
|
||||
|
|
|
@ -740,7 +740,7 @@ gst_wavparse_loop (GstElement * element)
|
|||
guint32 remaining;
|
||||
|
||||
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);
|
||||
} else {
|
||||
GST_ELEMENT_ERROR (element, RESOURCE, READ, (NULL), (NULL));
|
||||
|
|
Loading…
Reference in a new issue