mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
iterator: Only visit the element a single time in the single iterator
This commit is contained in:
parent
66e5d4ee4b
commit
690f980690
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue