mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
ges: Fix ges_layer_get_clips_in_interval(start, end) refcount handling
The documentation states that it returns a (transfer full) list of GESClip but it was returning a (transfer container) list. Make sure to actually make it (transfer full). https://bugzilla.gnome.org/show_bug.cgi?id=793874
This commit is contained in:
parent
6e018d7b2d
commit
503300a0df
1 changed files with 2 additions and 2 deletions
|
@ -777,8 +777,8 @@ ges_layer_get_clips_in_interval (GESLayer * layer, GstClockTime start,
|
|||
|
||||
if (clip_intersects)
|
||||
intersecting_clips =
|
||||
g_list_insert_sorted (intersecting_clips, tmp->data,
|
||||
(GCompareFunc) element_start_compare);
|
||||
g_list_insert_sorted (intersecting_clips,
|
||||
gst_object_ref (tmp->data), (GCompareFunc) element_start_compare);
|
||||
}
|
||||
return intersecting_clips;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue