diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-09-01 10:20:59 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-09-01 10:20:59 +0200 |
commit | 690f98069049d57d9727d2c95369e0df0fa34b38 (patch) | |
tree | 32993ff5a5223647b14b65908b77adf215f5be6e | |
parent | 66e5d4ee4b0d077e9901a5fdd9808bed873e0c3a (diff) |
iterator: Only visit the element a single time in the single iterator
-rw-r--r-- | gst/gstiterator.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |