clip: add the duration-limit property
authorHenry Wilkes <hwilkes@igalia.com>
Mon, 13 Apr 2020 16:42:22 +0000 (17:42 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Thu, 7 May 2020 08:37:15 +0000 (09:37 +0100)
commit4b62749336c1f5be3326c77f47d04a37fe22cc37
tree4069dc7fcffeb7bf102f4e57d701e4126ed6fed6
parent154816365f4bb1b3e487e3de2b1c281e3c2436fa
clip: add the duration-limit property

The duration-limit is the maximum duration that can be set for the clip
given its current children and their properties. If a change in the
children properties causes this to drop below the current duration, it
is automatically capped by this limit.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/169>
ges/ges-clip.c
ges/ges-clip.h
tests/check/ges/clip.c
tests/check/ges/test-utils.h