clip: enforce duration-limit
authorHenry Wilkes <hwilkes@igalia.com>
Thu, 30 Apr 2020 11:10:22 +0000 (12:10 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Thu, 7 May 2020 09:06:52 +0000 (10:06 +0100)
commit0fab5f45cbc7a22c18f97da34a078dd7f3cdb4ca
treeaf5a4baa0307a7f5b2cdab68a0333b3cdaf57016
parentfd353705b98df7462a5d624316ef35c2757db35c
clip: enforce duration-limit

Prevent setting of properties or that of children, if the clip would not
be able to set the corresponding duration if the duration-limit would
drop below the currently set duration.

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