mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
bin: Resync iterator if necessary
This commit is contained in:
parent
d544b074b3
commit
5bc3de3af4
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue