mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 07:26:33 +00:00
5c546c6fe7
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> |
||
---|---|---|
.. | ||
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 |