mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
call create_track_objects in timeline.c
This commit is contained in:
parent
e28da66ceb
commit
d6d7eb8398
2 changed files with 3 additions and 10 deletions
|
@ -257,7 +257,9 @@ ges_timeline_object_set_inpoint
|
|||
ges_timeline_object_set_start
|
||||
ges_timeline_object_set_duration
|
||||
ges_timeline_object_find_track_object
|
||||
CreateTrackObjectsFunc
|
||||
<SUBSECTION Standard>
|
||||
ges_timeline_object_create_track_objects
|
||||
ges_timeline_object_create_track_object
|
||||
ges_timeline_object_fill_track_object
|
||||
ges_timeline_object_release_track_object
|
||||
|
|
|
@ -263,18 +263,9 @@ add_object_to_tracks (GESTimeline * timeline, GESTimelineObject * object)
|
|||
for (tmp = timeline->tracks; tmp; tmp = g_list_next (tmp)) {
|
||||
TrackPrivate *priv = (TrackPrivate *) tmp->data;
|
||||
GESTrack *track = priv->track;
|
||||
GESTrackObject *trobj;
|
||||
|
||||
GST_LOG ("Trying with track %p", track);
|
||||
|
||||
if (G_UNLIKELY (!(trobj =
|
||||
ges_timeline_object_create_track_object (object, track)))) {
|
||||
GST_WARNING ("Couldn't create TrackObject for TimelineObject");
|
||||
continue;
|
||||
}
|
||||
|
||||
GST_LOG ("Got new TrackObject %p, adding it to track", trobj);
|
||||
ges_track_add_object (track, trobj);
|
||||
ges_timeline_object_create_track_objects (object, track);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue