Gst.Pad.prototype.unlink

function unlink(sinkpad:Gst.Pad):Boolean {
    // Gjs wrapper for gst_pad_unlink()
}

Unlinks the source pad from the sink pad. Will emit the Gst.unlinked signal on both pads.

sinkpad

the sink Gst.Pad to unlink.

Returns

TRUE if the pads were unlinked. This function returns FALSE if the pads were not linked together. MT safe.