Gst.PadTemplate.new
function new(name_template:String, direction:Gst.PadDirection, presence:Gst.PadPresence, caps:Gst.Caps):Gst.PadTemplate { // Gjs wrapper for gst_pad_template_new() }
Creates a new pad template with a name according to the given template and with the given arguments.
- name_template
the name template.
- direction
the Gst.PadDirection of the template.
- presence
the Gst.PadPresence of the pad.
- caps
a Gst.Caps set for the template.
- Returns
a new Gst.PadTemplate.