mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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);
|
||||
it->visited = TRUE;
|
||||
return GST_ITERATOR_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue