gstreamer/tests/check
Henry Wilkes 5c546c6fe7 clip: change order of split
We first change the duration of the splitted clip, then we add the new
clip to the layer and assign the tracks for its children. Normally, when
a clip is added to a layer it will have its track elements created, if
needed, and then assigned to their tracks. This will fail if any sources
would fully or triple overlap existing sources in the same track.

However, here we were adding the clip to the layer *and* avoiding the
track assignment process and instead setting the tracks explicitly. In
particular, the order was:

+ add new clip to layer with no tracks assigned
+ shrink the split clip
+ assign the tracks for the new clip

This has been changed to:

+ shrink the split clip
+ add new clip to layer with no tracks assigned
+ assign the tracks for the new clip

Thus, the order of events for any users connecting to object signals
will be close to that of adding another clip to the layer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/169>
2020-05-07 09:37:15 +01:00
..
assets tests: Cleanup test files handling 2020-03-25 18:00:09 -03:00
ges clip: change order of split 2020-05-07 09:37:15 +01:00
nle check: give nle_tempochange test more time 2020-04-29 12:32:52 +00:00
python timeline-tree: also trim non-core track elements 2020-05-07 09:37:15 +01:00
scenarios timeline-tree: simplify and fix editing 2020-05-07 09:37:15 +01:00
meson.build nlecomposition: Fix seeking with stop 2020-04-28 19:14:26 -04:00
nose2-junit-xml.cfg.in tests: Fix running python unit tests 2016-11-15 19:11:39 -03:00