Gst.GhostPad.new_no_target
function new_no_target(name:String, dir:Gst.PadDirection):Gst.Pad { // Gjs wrapper for gst_ghost_pad_new_no_target() }
Create a new ghostpad without a target with the given direction. A target can be set on the ghostpad later with the Gst.GhostPad.prototype.set_target function.
The created ghostpad will not have a padtemplate.
- name
the name of the new pad, or NULL to assign a default name.
- dir
the direction of the ghostpad
- Returns
a new Gst.Pad, or NULL in case of an error.