[0.11] gst-plugins-base: oggdemux: don't blindly forward all unknown events

Wim Taymans wtay at kemper.freedesktop.org
Mon Jan 30 11:59:46 PST 2012


Module: gst-plugins-base
Branch: 0.11
Commit: 848e1071469c4f806b70d10150eafd9503fda50e
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=848e1071469c4f806b70d10150eafd9503fda50e

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Jan 30 20:58:34 2012 +0100

oggdemux: don't blindly forward all unknown events

It causes the caps event to be send downstream and cause negotiation failures.

---

 ext/ogg/gstoggdemux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 79b3877..d9ae6a1 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -2102,7 +2102,7 @@ gst_ogg_demux_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
       break;
     }
     default:
-      res = gst_ogg_demux_send_event (ogg, event);
+      res = gst_pad_event_default (pad, parent, event);
       break;
   }
 



More information about the gstreamer-commits mailing list