Gst.GhostPad.prototype.set_target
function set_target(newtarget:Gst.Pad):Boolean { // Gjs wrapper for gst_ghost_pad_set_target() }
Set the new target of the ghostpad gpad. Any existing target is unlinked and links to the new target are established. if newtarget is NULL the target will be cleared.
- newtarget
the new pad target
- Returns
TRUE if the new target could be set. This function can return FALSE when the internal pads could not be linked.