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 Element.releaseRequestPad.

This method is slower than manually getting the pad template and calling Element.requestPad 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 gstreamer.Pad to retrieve.

Return Value

Type: Pad

requested gstreamer.Pad if found, otherwise NULL. Release after usage.