timeline: create auto-transitions during track-element-added
authorHenry Wilkes <hwilkes@igalia.com>
Mon, 27 Apr 2020 15:27:15 +0000 (16:27 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Thu, 7 May 2020 08:37:15 +0000 (09:37 +0100)
commita4cfa6d1e1d69bc200bbe96a409765efc5631b11
tree8420283d6616b5cb8c52535eabeb1b91b4c0234e
parentb00c01ded7f4d5c418be45053de2dc5482b1ecac
timeline: create auto-transitions during track-element-added

Any time a track element is added to a track, we need to check whether
we need to create a new corresponding auto-transition. This simply moves
the code from ges-clip.c to ges-timeline.c, where it is more appropriate.

Moreover, it technically opens the possibility for creating
auto-transitions for track elements in the timeline that have no
corresponding clip.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/169>
ges/ges-clip.c
ges/ges-timeline.c