effect: Add support for time effects
authorHenry Wilkes <hwilkes@igalia.com>
Fri, 15 May 2020 13:28:09 +0000 (14:28 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Fri, 22 May 2020 18:16:04 +0000 (19:16 +0100)
commit571120dcfbefc02c01f9ddb0be7c2debbcacad88
tree5359b62222021e5c2c7cefb35291abd7f5bdf7a0
parent142456d8ba802485d065b8306131837e3cce1521
effect: Add support for time effects

Allow the user to register a child property of a base effect as a time
property. This can be used by GES to correctly calculate the
duration-limit of a clip when it has time effects on it. The existing
ges_effect_class_register_rate_property is now used to automatically
register such time effects for rate effects.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/177>
ges/ges-base-effect-clip.c
ges/ges-base-effect.c
ges/ges-base-effect.h
ges/ges-clip.c
ges/ges-effect.c
ges/ges-internal.h
ges/ges-timeline-element.c
ges/ges-timeline-element.h
ges/ges-track-element.c
tests/check/ges/clip.c