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 gobject.types.GType

#GType of the passed object

object gobject.value.Value

object that this iterator should return

Return Value

Type: gst.iterator.Iterator

the new #GstIterator for object.