Retrieves a request pad from the element according to the provided template. Pad templates can be looked up using Element.factoryGetStaticPadTemplates.

The pad should be released with Element.releaseRequestPad.

class Element


templ PadTemplate

a gstreamer.PadTemplate of which we want a pad of.

name string

the name of the request gstreamer.Pad to retrieve. Can be NULL.

caps Caps

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

Return Value

Type: Pad

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