group: fix priority setting
authorHenry Wilkes <hwilkes@igalia.com>
Sat, 18 Apr 2020 15:49:31 +0000 (16:49 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Thu, 7 May 2020 08:37:15 +0000 (09:37 +0100)
commita6b13ce61990f5b5e014b7bc294929beaa981815
treeaa84f1279a8f78a71b1860f993d2d2cf367c2857
parent6617d7671036829e308273513eecb1869b37817c
group: fix priority setting

Stop moving the group if a child clip is being edited by timeline-tree,
a child group is updating its own priority, or a layer that a clip is in
has changed priority. A group should only move if a descendant moves
layers outside of a timeline-tree edit, or the priority of the group is
set by the user.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/89

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/169>
ges/ges-group.c
tests/check/ges/group.c