oggdemux: don't blindly forward all unknown events
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 30 Jan 2012 19:58:34 +0000 (20:58 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 30 Jan 2012 19:58:34 +0000 (20:58 +0100)
It causes the caps event to be send downstream and cause negotiation failures.

ext/ogg/gstoggdemux.c

index 79b3877..d9ae6a1 100644 (file)
@@ -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;
   }