clip: Make sure to create transition after a clip is splitted
authorThibault Saunier <tsaunier@igalia.com>
Sun, 18 Mar 2018 14:03:00 +0000 (11:03 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Sun, 18 Mar 2018 14:31:17 +0000 (11:31 -0300)
commitbd142e285d11110cc97d2d63a9c5d25ec8463a36
treedb117c4b38d02172dcc477058e25e8f189b00118
parent31e7ca2ef799e06338fc3d2e8c178f1bbea704ce
clip: Make sure to create transition after a clip is splitted

In the (now tested) scenario where we have a transition on the right
side of a clip we are splitting, auto transitions can't be created
because we resize the clip after adding the new one, meaning that
there are 3 elements in the "transition zone", we need to force
auto transition creation after the splitting.

Fixes https://gitlab.gnome.org/GNOME/pitivi/issues/2142
ges/ges-clip.c
ges/ges-internal.h
ges/ges-timeline.c
tests/check/python/common.py
tests/check/python/test_timeline.py