projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c9776
)
bin: fix the iterator copy
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 4 Nov 2011 18:17:06 +0000
(19:17 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 4 Nov 2011 18:17:06 +0000
(19:17 +0100)
gst/gstbin.c
patch
|
blob
|
history
diff --git
a/gst/gstbin.c
b/gst/gstbin.c
index
52f87c1
..
91526dc
100644
(file)
--- a/
gst/gstbin.c
+++ b/
gst/gstbin.c
@@
-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 (
&
copy->queue, (GFunc) gst_object_ref, NULL);
copy->bin = gst_object_ref (it->bin);
if (it->best)