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:
5286479
)
bin: Resync iterator if necessary
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 15 Nov 2013 06:32:48 +0000
(07:32 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 15 Nov 2013 06:32:48 +0000
(07:32 +0100)
gst/gstbin.c
patch
|
blob
|
history
diff --git
a/gst/gstbin.c
b/gst/gstbin.c
index
4bfd6d5
..
581b251
100644
(file)
--- a/
gst/gstbin.c
+++ b/
gst/gstbin.c
@@
-4086,7
+4086,8
@@
gst_bin_set_context (GstElement * element, GstContext * context)
children = gst_bin_iterate_elements (bin);
while (gst_iterator_foreach (children, set_context,
- context) == GST_ITERATOR_RESYNC);
+ context) == GST_ITERATOR_RESYNC)
+ gst_iterator_resync (children);
gst_iterator_free (children);
}