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.

MT safe. Caller owns returned value.

class Bin
iterateAllByInterface

Parameters

iface GType

the #GType of an interface

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

Meta