summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>2013-07-11 02:16:19 +0200
committerThibault Saunier <thibault.saunier@collabora.com>2013-07-10 23:18:41 -0400
commitff21ea7f9221e600ff1ebb4eed66a1bf1285a8c4 (patch)
tree7cd88e2275a17a9d47c3c69febd94229aac00db3
parent1e5bb2edf62412b553d5b23a8505285989874cdf (diff)
group: set priv->setting_value to TRUE when moving ourselves in _child_removed
-rw-r--r--ges/ges-group.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ges/ges-group.c b/ges/ges-group.c
index 777ce03..1f1775c 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 *