Gst.GhostPad.new_no_target_from_template

function new_no_target_from_template(name:String, templ:Gst.PadTemplate):Gst.Pad {
    // Gjs wrapper for gst_ghost_pad_new_no_target_from_template()
}

Create a new ghostpad based on templ, without setting a target. The direction will be taken from the templ.

name

the name of the new pad, or NULL to assign a default name

templ

the Gst.PadTemplate to create the ghostpad from.

Returns

a new Gst.Pad, or NULL in case of an error.