mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
ges: Don't emit timeline::group-removed when ungrouping outside a timeline
This commit is contained in:
parent
c4356db40c
commit
8ce2b97a93
1 changed files with 4 additions and 2 deletions
|
@ -571,8 +571,10 @@ _ungroup (GESContainer * group, gboolean recursive)
|
|||
g_ptr_array_add (children_array, child);
|
||||
ret = g_list_append (ret, child);
|
||||
}
|
||||
ges_timeline_emit_group_removed (timeline, (GESGroup *) group,
|
||||
children_array);
|
||||
|
||||
if (timeline)
|
||||
ges_timeline_emit_group_removed (timeline, (GESGroup *) group,
|
||||
children_array);
|
||||
g_ptr_array_free (children_array, TRUE);
|
||||
g_list_free_full (children, gst_object_unref);
|
||||
|
||||
|
|
Loading…
Reference in a new issue