oggdemux: don't blindly forward all unknown events

It causes the caps event to be send downstream and cause negotiation failures.
This commit is contained in:
Wim Taymans 2012-01-30 20:58:34 +01:00
parent be0cadac03
commit 848e107146

View 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;
}