remove_pad


Description:

public bool remove_pad (Pad pad)

Removes pad from this.

pad will be destroyed if it has not been referenced elsewhere using unparent.

This function is used by plugin developers and should not be used by applications. Pads that were dynamically requested from elements with request_pad should be released with the 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 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 pad_removed signal on the element.

Parameters:

this

a Element to remove pad from.

pad

the Pad to remove from the element.

Returns:




2022 vala-language.org