timeline-tree: take time effects into account when trimming
authorHenry Wilkes <hwilkes@igalia.com>
Fri, 15 May 2020 13:47:15 +0000 (14:47 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Mon, 25 May 2020 10:20:38 +0000 (11:20 +0100)
commit478db52ded444d45c6c618ade371ff4cea117127
tree02a0a54b39e535d2652596c6548e5c0bd1f06c2a
parent364c112d662edab9e0964d400abb367c71146730
timeline-tree: take time effects into account when trimming

When trimming the start of a clip, we want to set the in-point of its
children such that whatever data was at the timeline time T still
remains at the timeline time T after the trim, where
  T = MAX (prev_start, new_start)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/177>
ges/ges-clip.c
ges/ges-enums.h
ges/ges-internal.h
ges/ges-timeline-tree.c
tests/check/python/test_timeline.py