Element.requestPad

Retrieves a request pad from the element according to the provided template. Pad templates can be looked up using gst_element_factory_get_static_pad_templates(). The pad should be released with gst_element_release_request_pad().

class Element
requestPad

Parameters

templ PadTemplate

a GstPadTemplate of which we want a pad of.

name string

the name of the request GstPad to retrieve. Can be NULL. [transfer none][allow-none]

caps Caps

the caps of the pad we want to request. Can be NULL. [transfer none][allow-none]

Return Value

Type: Pad

requested GstPad if found, otherwise NULL. Release after usage. [transfer full]

Meta