Gst.Element.prototype.request_pad
function request_pad(templ:Gst.PadTemplate, name:String, caps:Gst.Caps):Gst.Pad { // Gjs wrapper for gst_element_request_pad() }
Retrieves a request pad from the element according to the provided template. Pad templates can be looked up using Gst.get_static_pad_templates.
The pad should be released with Gst.Element.prototype.release_request_pad.
- templ
a Gst.PadTemplate of which we want a pad of.
- name
the name of the request Gst.Pad to retrieve. Can be null.
- caps
the caps of the pad we want to request. Can be null.
- Returns
requested Gst.Pad if found, otherwise null. Release after usage.