mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue