mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
timeline: free track elements list
This commit is contained in:
parent
b3114b6a4d
commit
30d879f357
1 changed files with 3 additions and 2 deletions
|
@ -1910,7 +1910,7 @@ static void
|
|||
add_object_to_tracks (GESTimeline * timeline, GESClip * clip, GESTrack * track)
|
||||
{
|
||||
gint i;
|
||||
GList *tmp;
|
||||
GList *tmp, *list;
|
||||
GESTrackType types, visited_type = GES_TRACK_TYPE_UNKNOWN;
|
||||
|
||||
GST_DEBUG_OBJECT (timeline, "Creating %" GST_PTR_FORMAT
|
||||
|
@ -1929,7 +1929,8 @@ add_object_to_tracks (GESTimeline * timeline, GESClip * clip, GESTrack * track)
|
|||
if (((track->type & types) == 0 || (track->type & visited_type)))
|
||||
continue;
|
||||
|
||||
ges_clip_create_track_elements (clip, track->type);
|
||||
list = ges_clip_create_track_elements (clip, track->type);
|
||||
g_list_free (list);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue