Bin.iterateAllByInterface

Looks for all elements inside the bin that implements the given interface. You can safely cast all returned elements to the given interface. The function recurses inside child bins. The iterator will yield a series of GstElement that should be unreffed after use. Each element yielded by the iterator will have its refcount increased, so unref after use. MT safe. Caller owns returned value.

class Bin
iterateAllByInterface

Parameters

iface GType

the GType of an interface

Return Value

Type: Iterator

a GstIterator of GstElement for all elements in the bin implementing the given interface, or NULL

Meta