Iterator.newSingle

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.