Iterator.newSingle

gst.iterator.Iterator newSingle(gobject.types.GType type, gobject.value.Value object) static nothrow

This #GstIterator is a convenient iterator for the common case where a #GstIterator needs to be returned but only a single object has to be considered. This happens often for the #GstPadIterIntLinkFunction.

Parameters

type#GType of the passed object
objectobject that this iterator should return

Returns

the new #GstIterator for object.