Gst.GhostPad.new
function new(name:String, target:Gst.Pad):Gst.Pad { // Gjs wrapper for gst_ghost_pad_new() }
Create a new ghostpad with target as the target. The direction will be taken from the target pad. target must be unlinked.
Will ref the target.
- name
the name of the new pad, or NULL to assign a default name
- target
the pad to ghost.
- Returns
a new Gst.Pad, or NULL in case of an error.