pad does not belong to the provided element.
MT safe.
bool removePad(gst.pad.Pad pad)Removes pad from element. pad will be destroyed if it has not been referenced elsewhere using [gst.object.ObjectWrap.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.Element.requestPad] should be released with the [gst.element.Element.releaseRequestPad] 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.pad.Pad.setActive] for more information about deactivating pads.
The pad and the element should be unlocked when calling this function.
This function will emit the #GstElement::pad-removed signal on the element.
pad | the #GstPad to remove from the element. |
pad does not belong to the provided element.
MT safe.