Gst.Element.prototype.remove_pad

function remove_pad(pad:Gst.Pad):Boolean {
    // Gjs wrapper for gst_element_remove_pad()
}

Removes pad from element. pad will be destroyed if it has not been referenced elsewhere using Gst.unparent.

This function is used by plugin developers and should not be used by applications. Pads that were dynamically requested from elements with Gst.Element.prototype.get_request_pad should be released with the Gst.Element.prototype.release_request_pad function instead.

Pads are not automatically deactivated so elements should perform the needed steps to deactivate the pad in case this pad is removed in the PAUSED or PLAYING state. See Gst.set_active for more information about deactivating pads.

The pad and the element should be unlocked when calling this function.

This function will emit the Gst.pad-removed signal on the element.

pad

the Gst.Pad to remove from the element.

Returns

true if the pad could be removed. Can return false if the pad does not belong to the provided element. MT safe.