add_pad


Description:

public bool add_pad (Pad pad)

Adds a pad (link point) to this.

pad's parent will be set to this; see set_parent for refcounting information.

Pads are automatically activated when added in the PAUSED or PLAYING state.

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

This function will emit the pad_added signal on the element.

Parameters:

this

a Element to add the pad to.

pad

the Pad to add to the element.

Returns: