Element.getPad

Retrieves a pad from element by name. Tries gst_element_get_static_pad() first, then gst_element_get_request_pad(). Note Usage of this function is not recommended as it is unclear if the reference to the result pad should be released with gst_object_unref() in case of a static pad or gst_element_release_request_pad() in case of a request pad.

class Element
getPad
(
string name
)

Parameters

name string

the name of the pad to retrieve.

Return Value

Type: Pad

the GstPad if found, otherwise NULL. Unref or Release after usage, depending on the type of the pad.

Meta