Gst.GhostPad.prototype.get_target

function get_target():Gst.Pad {
    // Gjs wrapper for gst_ghost_pad_get_target()
}

Get the target pad of gpad. Unref target pad after usage.

Returns

the target Gst.Pad, can be NULL if the ghostpad has no target set. Unref target pad after usage.