gstreamer/tests/check/ges
Henry Wilkes a6d0418f99 uri-clip: don't assume duration needs to stay the same
ges_uri_clip_asset_get_duration does not tell us what the duration in
the timeline needs to be. Especially when we have time effects, or
effects with finite max-durations. So we should no longer expect the
duration to stay the same when replacing assets. Instead, we just check
that the new max-duration would be compatible with the current in-point
(which was not checked before), and the clip would not be totally
overlapped if its duration-limit changes.

This is based on the assumption that each source is replaced one-to-one
in its track. If a source is replaced with nothing in the same track,
this check may be a little too strong (but still mostly weaker than
before). However, problems could occur if track selection does
something unexpected, such as placing the new source in a track not
previously occupied.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/177>
2020-05-25 11:20:38 +01:00
..
asset.c uri-clip: don't assume duration needs to stay the same 2020-05-25 11:20:38 +01:00
backgroundsource.c asset: unref requested assets 2020-05-07 10:06:52 +01:00
basic.c timeline: make sure appended layer has lowest priority 2020-05-07 09:37:15 +01:00
clip.c track-element: use out-point for updating control bindings 2020-05-25 11:20:38 +01:00
effects.c clip: add method for adding top effects 2020-05-25 11:20:38 +01:00
group.c asset: unref requested assets 2020-05-07 10:06:52 +01:00
layer.c asset: unref requested assets 2020-05-07 10:06:52 +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 track-element: use out-point for updating control bindings 2020-05-25 11:20:38 +01:00
tempochange.c clip: use time translation for split 2020-05-25 11:20:38 +01:00
test-utils.c tests: Cleanup test files handling 2020-03-25 18:00:09 -03:00
test-utils.h errors: added edit errors 2020-05-22 19:15:57 +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