Allow all events, not just EOS

Original commit message from CVS:
Allow all events, not just EOS
This commit is contained in:
Iain Holmes 2004-04-17 22:33:38 +00:00
parent 7ae94ad5c7
commit ec2a1ad52a
2 changed files with 6 additions and 1 deletions

View file

@ -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),

View file

@ -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));