mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
GESTimelineObject: Do not rely on the fact that the trackobject list is sorted
This commit is contained in:
parent
1a7081ade3
commit
bad1b419c2
1 changed files with 1 additions and 3 deletions
|
@ -813,12 +813,10 @@ GList *
|
|||
ges_timeline_object_get_effects (GESTimelineObject * object)
|
||||
{
|
||||
GList *tmp, *ret;
|
||||
guint i;
|
||||
|
||||
ret = NULL;
|
||||
|
||||
for (tmp = object->priv->trackobjects, i = 0;
|
||||
i < object->priv->nb_effects; tmp = tmp->next, i++) {
|
||||
for (tmp = object->priv->trackobjects; tmp; tmp = tmp->next) {
|
||||
if (GES_IS_TRACK_EFFECT (tmp->data)) {
|
||||
ret = g_list_insert_sorted_with_data (ret, tmp->data,
|
||||
(GCompareDataFunc) sort_track_effects, object);
|
||||
|
|
Loading…
Reference in a new issue