decodebin2: preserve next groups order

This commit is contained in:
Thiago Santos 2013-02-01 17:50:36 -03:00
parent 42db7c7b08
commit 054ffc6e2b

View file

@ -2747,7 +2747,7 @@ gst_decode_chain_get_current_group (GstDecodeChain * chain)
/* group = chain->next_groups->data */ /* group = chain->next_groups->data */
} else { } else {
group = gst_decode_group_new (chain->dbin, chain); group = gst_decode_group_new (chain->dbin, chain);
chain->next_groups = g_list_prepend (chain->next_groups, group); chain->next_groups = g_list_append (chain->next_groups, group);
} }
return group; return group;