mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
bin: fix the iterator copy
This commit is contained in:
parent
c2c9776027
commit
a38c8b759c
1 changed files with 2 additions and 2 deletions
|
@ -1791,8 +1791,8 @@ gst_bin_sort_iterator_copy (const GstBinSortIterator * it,
|
|||
GHashTableIter iter;
|
||||
gpointer key, value;
|
||||
|
||||
copy->queue = g_queue_copy (it->queue);
|
||||
g_queue_foreach (copy->queue, (GFunc) gst_object_ref, NULL);
|
||||
copy->queue = it->queue;
|
||||
g_queue_foreach (©->queue, (GFunc) gst_object_ref, NULL);
|
||||
|
||||
copy->bin = gst_object_ref (it->bin);
|
||||
if (it->best)
|
||||
|
|
Loading…
Reference in a new issue