Pad.setActive

Activates or deactivates the given pad. Normally called from within core state change functions. If active, makes sure the pad is active. If it is already active, either in push or pull mode, just return. Otherwise dispatches to the pad's activate function to perform the actual activation. If not active, calls gst_pad_activate_mode() with the pad's current mode and a FALSE argument.

class Pad
int
setActive
(
int active
)

Parameters

active int

whether or not the pad should be active.

Return Value

Type: int

TRUE if the operation was successful. MT safe.

Meta