oggdemux: activate pad before pushing things
Activate the pad before pushing things on it or else we get errors.
This commit is contained in:
parent
0c99ab5806
commit
29c3e31ff5
@ -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);
|
"created new ogg src %p for stream with serial %08lx", ret, serialno);
|
||||||
|
|
||||||
g_array_append_val (chain->streams, ret);
|
g_array_append_val (chain->streams, ret);
|
||||||
|
gst_pad_set_active (GST_PAD_CAST (ret), TRUE);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user