From ff21ea7f9221e600ff1ebb4eed66a1bf1285a8c4 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 11 Jul 2013 02:16:19 +0200 Subject: [PATCH] group: set priv->setting_value to TRUE when moving ourselves in _child_removed --- ges/ges-group.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ges/ges-group.c b/ges/ges-group.c index 777ce0354c..1f1775c02f 100644 --- a/ges/ges-group.c +++ b/ges/ges-group.c @@ -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 *