timeline: Better handle loading inconsistent timelines
authorAlexandru Băluț <alexandru.balut@gmail.com>
Tue, 27 Nov 2018 03:55:17 +0000 (04:55 +0100)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 29 Jan 2019 00:32:58 +0000 (21:32 -0300)
commitc750345c75f3bbe3b106194b1199478123f540a3
tree6b1b6a41c7e1b625646554e4c2b0b8df3783752f
parentaa2f29bad3bf6805ebc32d5b948a3a399056fa04
timeline: Better handle loading inconsistent timelines

Auto transition when having 3 overlapping clips in a same point in the
timeline is not supported as we can't handle it in a nice way. Before we
to avoid creating 2 overlapping transitions (which is plain broken in
NLE) were completely disabling `auto-transition` and removing all
auto-transitions in the timeline but this is pretty weird for the end
user. This commit changes and now makes sure 2 transitions are not
created in the same place.

Also cleanup previous test case.
ges/ges-timeline.c
tests/check/python/common.py
tests/check/python/test_timeline.py