oggdemux: Don't push stream-start in two different locations

This commit is contained in:
Edward Hervey 2012-07-18 15:26:40 +02:00
parent c5901cebca
commit 1097102b20

View file

@ -2648,8 +2648,6 @@ gst_ogg_demux_activate_chain (GstOggDemux * ogg, GstOggChain * chain,
pad->map.taglist = NULL;
}
gst_pad_push_event (GST_PAD (pad), gst_event_new_stream_start ());
/* Set headers on caps */
pad->map.caps =
gst_ogg_demux_set_header_on_caps (ogg, pad->map.caps, pad->map.headers);