Element.getRequestPad

Retrieves a pad from the element by name (e.g. "src_\%d"). This version only retrieves request pads. The pad should be released with gst_element_release_request_pad().

This method is slower than manually getting the pad template and calling gst_element_request_pad() if the pads should have a specific name (e.g. @name is "src_1" instead of "src_%u").

class Element
getRequestPad
(
string name
)

Parameters

name string

the name of the request #GstPad to retrieve.

Return: requested #GstPad if found, otherwise %NULL. Release after usage.

Meta