request_pad
Description:
[ CCode ( vfunc_name = "request_new_pad" ) ]
public virtual Pad? request_pad (PadTemplate templ, string? name, Caps? caps)
public virtual Pad? request_pad (PadTemplate templ, string? name, Caps? caps)
Retrieves a request pad from the element according to the provided template.
Pad templates can be looked up using get_static_pad_templates.
The pad should be released with release_request_pad.
Parameters:
this |
a Element to find a request pad of. |
templ |
a PadTemplate of which we want a pad of. |
name |
the name of the request Pad to retrieve. Can be |
caps |
the caps of the pad we want to request. Can be |
Returns:
requested Pad if found, otherwise |