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:
a43de49
)
bin: Add forgotten "git commit --amend" for last commit
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 19 Sep 2016 14:07:51 +0000
(10:07 -0400)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 19 Sep 2016 14:07:51 +0000
(10:07 -0400)
Need to cast away the const as g_queue_foreach() takes a non-const GQueue*
gst/gstbin.c
patch
|
blob
|
history
diff --git
a/gst/gstbin.c
b/gst/gstbin.c
index
28bae67
..
820488b
100644
(file)
--- a/
gst/gstbin.c
+++ b/
gst/gstbin.c
@@
-2152,7
+2152,7
@@
gst_bin_sort_iterator_copy (const GstBinSortIterator * it,
gpointer key, value;
g_queue_init (©->queue);
- g_queue_foreach (
&
it->queue, copy_to_queue, ©->queue);
+ g_queue_foreach (
(GQueue *) &
it->queue, copy_to_queue, ©->queue);
copy->bin = gst_object_ref (it->bin);
if (it->best)