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.

caps Caps

the caps of the pad we want to request. Can be %NULL.

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

Meta