mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
group: set priv->setting_value to TRUE when moving ourselves in _child_removed
This commit is contained in:
parent
1e5bb2edf6
commit
ff21ea7f92
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,7 @@ _child_removed (GESContainer * group, GESTimelineElement * child)
|
|||
{
|
||||
GList *children;
|
||||
GstClockTime first_child_start;
|
||||
GESGroupPrivate *priv = GES_GROUP (group)->priv;
|
||||
|
||||
_ges_container_sort_children (group);
|
||||
|
||||
|
@ -434,12 +435,14 @@ _child_removed (GESContainer * group, GESTimelineElement * child)
|
|||
return;
|
||||
}
|
||||
|
||||
priv->setting_value = TRUE;
|
||||
first_child_start = GES_TIMELINE_ELEMENT_START (children->data);
|
||||
if (first_child_start > GES_TIMELINE_ELEMENT_START (group)) {
|
||||
group->children_control_mode = GES_CHILDREN_IGNORE_NOTIFIES;
|
||||
_set_start0 (GES_TIMELINE_ELEMENT (group), first_child_start);
|
||||
group->children_control_mode = GES_CHILDREN_UPDATE;
|
||||
}
|
||||
priv->setting_value = FALSE;
|
||||
}
|
||||
|
||||
static GList *
|
||||
|
|
Loading…
Reference in a new issue