Pad.activateMode

bool activateMode(gst.types.PadMode mode, bool active)

Activates or deactivates the given pad in mode via dispatching to the pad's activatemodefunc. For use from within pad activation functions only.

If you don't know what this is, you probably don't want to call it.

Parameters

modethe requested activation mode
activewhether or not the pad should be active.

Returns

true if the operation was successful.

MT safe.