From 690f98069049d57d9727d2c95369e0df0fa34b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 1 Sep 2009 10:20:59 +0200 Subject: [PATCH] iterator: Only visit the element a single time in the single iterator --- gst/gstiterator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gstiterator.c b/gst/gstiterator.c index ad5d708fde..6818996f0e 100644 --- a/gst/gstiterator.c +++ b/gst/gstiterator.c @@ -680,6 +680,7 @@ gst_single_object_iterator_iterator_next (GstSingleObjectIterator * it, } *result = it->copy (it->object); + it->visited = TRUE; return GST_ITERATOR_OK; }