Bin.getByInterface

Looks for an element inside the bin that implements the given interface. If such an element is found, it returns the element. You can cast this element to the given interface afterwards. If you want all elements that implement the interface, use gst_bin_iterate_all_by_interface(). This function recurses into child bins.

MT safe. Caller owns returned reference.

class Bin
getByInterface

Parameters

iface GType

the #GType of an interface

Return Value

Type: Element

A #GstElement inside the bin implementing the interface

Meta