From ec2a1ad52a1e98e59eb8f2620b71b9d22529312d Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sat, 17 Apr 2004 22:33:38 +0000 Subject: [PATCH] Allow all events, not just EOS Original commit message from CVS: Allow all events, not just EOS --- ChangeLog | 5 +++++ gst/wavparse/gstwavparse.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3314870dd1..053ff2fdfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-17 Iain + + * gst/wavparse/gstwavparse.c (gst_wavparse_loop): Allow all events, + not just EOS. + 2004-04-17 Benjamin Otte * ext/mad/gstid3tag.c: (gst_id3_tag_get_type), diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index f24c9321f0..3c600ae6d1 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -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));