iterator: Only visit the element a single time in the single iterator

This commit is contained in:
Sebastian Dröge 2009-09-01 10:20:59 +02:00
parent 66e5d4ee4b
commit 690f980690

View file

@ -680,6 +680,7 @@ gst_single_object_iterator_iterator_next (GstSingleObjectIterator * it,
} }
*result = it->copy (it->object); *result = it->copy (it->object);
it->visited = TRUE;
return GST_ITERATOR_OK; return GST_ITERATOR_OK;
} }