otherwise null. Release after usage.
Element.requestPadSimple
gst.pad.Pad requestPadSimple(string name)Retrieves a pad from the element by name (e.g. "src_\d"). This version only retrieves request pads. The pad should be released with [gst.element.Element.releaseRequestPad].
This method is slower than manually getting the pad template and calling [gst.element.Element.requestPad] if the pads should have a specific name (e.g. name is "src_1" instead of "src_\u").
Note that this function was introduced in GStreamer 1.20 in order to provide a better name to [gst.element.Element.getRequestPad]. Prior to 1.20, users should use [gst.element.Element.getRequestPad] which provides the same functionality.
Parameters
name | the name of the request #GstPad to retrieve. |
Returns
requested #GstPad if found,