mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 13:45:52 +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
|
@ -777,8 +777,8 @@ ges_layer_get_clips_in_interval (GESLayer * layer, GstClockTime start,
|
||||||
|
|
||||||
if (clip_intersects)
|
if (clip_intersects)
|
||||||
intersecting_clips =
|
intersecting_clips =
|
||||||
g_list_insert_sorted (intersecting_clips, tmp->data,
|
g_list_insert_sorted (intersecting_clips,
|
||||||
(GCompareFunc) element_start_compare);
|
gst_object_ref (tmp->data), (GCompareFunc) element_start_compare);
|
||||||
}
|
}
|
||||||
return intersecting_clips;
|
return intersecting_clips;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue