oggdemux: activate pad before pushing things

Activate the pad before pushing things on it or else we get errors.
This commit is contained in:
Wim Taymans 2011-05-30 17:14:48 +02:00
parent 0c99ab5806
commit 29c3e31ff5

View file

@ -1186,6 +1186,7 @@ gst_ogg_chain_new_stream (GstOggChain * chain, glong serialno)
"created new ogg src %p for stream with serial %08lx", ret, serialno);
g_array_append_val (chain->streams, ret);
gst_pad_set_active (GST_PAD_CAST (ret), TRUE);
return ret;