diff options
Diffstat (limited to 'plugins/elements/gsttee.c')
-rw-r--r-- | plugins/elements/gsttee.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/elements/gsttee.c b/plugins/elements/gsttee.c index 906775d2a..2369814bd 100644 --- a/plugins/elements/gsttee.c +++ b/plugins/elements/gsttee.c @@ -971,8 +971,10 @@ gst_tee_pull_eos (GstTee * tee) GstIterator *iter; iter = gst_element_iterate_src_pads (GST_ELEMENT (tee)); - gst_iterator_foreach (iter, (GstIteratorForeachFunction) gst_tee_push_eos, - tee); + while (gst_iterator_foreach (iter, + (GstIteratorForeachFunction) gst_tee_push_eos, + tee) == GST_ITERATOR_RESYNC) + gst_iterator_resync (iter); gst_iterator_free (iter); } |