mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
GESTimelinePipeline: Sync state of newly added element to container
This commit is contained in:
parent
5396476e7c
commit
82af34bb87
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ pad_added_cb (GstElement * timeline, GstPad * pad, GESTimelinePipeline * self)
|
|||
/* Adding tee */
|
||||
chain->tee = gst_element_factory_make ("tee", NULL);
|
||||
gst_bin_add (GST_BIN_CAST (self), chain->tee);
|
||||
gst_element_sync_state_with_parent (chain->tee);
|
||||
|
||||
/* Linking pad to tee */
|
||||
sinkpad = gst_element_get_pad (chain->tee, "sink");
|
||||
|
|
Loading…
Reference in a new issue