mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
timeline: connect_after to layer.object_added.
We want the user provided signal handlers to be called before we add track elements.
This commit is contained in:
parent
3f97397b4f
commit
3035bcb405
1 changed files with 3 additions and 3 deletions
|
@ -2670,9 +2670,9 @@ ges_timeline_add_layer (GESTimeline * timeline, GESLayer * layer)
|
|||
g_hash_table_insert (timeline->priv->by_layer, layer, g_sequence_new (NULL));
|
||||
|
||||
/* Connect to 'clip-added'/'clip-removed' signal from the new layer */
|
||||
g_signal_connect (layer, "clip-added", G_CALLBACK (layer_object_added_cb),
|
||||
timeline);
|
||||
g_signal_connect (layer, "clip-removed",
|
||||
g_signal_connect_after (layer, "clip-added",
|
||||
G_CALLBACK (layer_object_added_cb), timeline);
|
||||
g_signal_connect_after (layer, "clip-removed",
|
||||
G_CALLBACK (layer_object_removed_cb), timeline);
|
||||
g_signal_connect (layer, "notify::priority",
|
||||
G_CALLBACK (layer_priority_changed_cb), timeline);
|
||||
|
|
Loading…
Reference in a new issue