summaryrefslogtreecommitdiff
path: root/ges/ges-clip.c
diff options
context:
space:
mode:
authorHenry Wilkes <hwilkes@igalia.com>2020-04-27 16:27:15 +0100
committerHenry Wilkes <hwilkes@igalia.com>2020-05-07 09:37:15 +0100
commita4cfa6d1e1d69bc200bbe96a409765efc5631b11 (patch)
tree8420283d6616b5cb8c52535eabeb1b91b4c0234e /ges/ges-clip.c
parentb00c01ded7f4d5c418be45053de2dc5482b1ecac (diff)
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>
Diffstat (limited to 'ges/ges-clip.c')
-rw-r--r--ges/ges-clip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ges/ges-clip.c b/ges/ges-clip.c
index a1b4365a..b93401cc 100644
--- a/ges/ges-clip.c
+++ b/ges/ges-clip.c
@@ -2610,9 +2610,5 @@ ges_clip_add_child_to_track (GESClip * clip, GESTrackElement * child,
return NULL;
}
- if (GES_IS_SOURCE (el))
- timeline_tree_create_transitions_for_track_element (timeline_get_tree
- (timeline), el, ges_timeline_find_auto_transition);
-
return el;
}