gstreamer/tests/check/ges
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
..
asset.c asset: fix handling of proxies 2020-03-05 17:04:51 -03:00
backgroundsource.c tests: init/deinit per test case 2019-01-28 17:35:04 +09:00
basic.c timeline: make sure appended layer has lowest priority 2020-05-07 09:37:15 +01:00
clip.c clip: change order of split 2020-05-07 09:37:15 +01:00
effects.c clip: only allow core elements as children 2020-03-16 14:19:51 +00:00
group.c group: fix priority setting 2020-05-07 09:37:15 +01:00
layer.c timeline-tree: simplify and fix editing 2020-05-07 09:37:15 +01:00
markerlist.c marker: add color meta 2019-10-24 09:45:19 +00:00
mixers.c tests: Plug misc leaks 2019-04-15 17:11:48 -04:00
negative.c tests: Add inconsistent init/deinit test case 2019-03-12 15:17:18 +00:00
overlays.c clip: re-handle child in-point and max-duration 2020-03-16 14:19:52 +00:00
project.c formatter: Plug lists of TimedValue leak 2019-07-26 13:48:52 -04:00
tempochange.c nleobject: stop using media-duration-factor 2020-04-29 12:32:52 +00:00
test-utils.c tests: Cleanup test files handling 2020-03-25 18:00:09 -03:00
test-utils.h clip: add the duration-limit property 2020-05-07 09:37:15 +01:00
timelineedition.c timeline-tree: simplify and fix editing 2020-05-07 09:37:15 +01:00
titles.c clip: re-handle child in-point and max-duration 2020-03-16 14:19:52 +00:00
track.c tests: init/deinit per test case 2019-01-28 17:35:04 +09:00
transition.c clip: re-handle child in-point and max-duration 2020-03-16 14:19:52 +00:00
uriclip.c ges: Deprecate GESImageSource and GESMultiFileSource 2020-03-30 06:54:22 -03:00
wrong_test.xptv tests: Implement tests for ges_formatter_can_load_uri 2012-09-25 15:10:35 +02:00