summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@prettypeople.org>2004-04-17 22:33:38 +0000
committerIain Holmes <iain@prettypeople.org>2004-04-17 22:33:38 +0000
commitec2a1ad52a1e98e59eb8f2620b71b9d22529312d (patch)
tree9f7dc268854efdaccee866d684cea9bd5722695a
parent7ae94ad5c7ce51a4604ba8b6f05d32c3722751ca (diff)
Allow all events, not just EOS
Original commit message from CVS: Allow all events, not just EOS
-rw-r--r--ChangeLog5
-rw-r--r--gst/wavparse/gstwavparse.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3314870d..053ff2fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index f24c9321..3c600ae6 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));