mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
a6d0418f99
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> |
||
---|---|---|
.. | ||
asset.c | ||
backgroundsource.c | ||
basic.c | ||
clip.c | ||
effects.c | ||
group.c | ||
layer.c | ||
markerlist.c | ||
mixers.c | ||
negative.c | ||
overlays.c | ||
project.c | ||
tempochange.c | ||
test-utils.c | ||
test-utils.h | ||
timelineedition.c | ||
titles.c | ||
track.c | ||
transition.c | ||
uriclip.c | ||
wrong_test.xptv |