Pad.activateMode

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.

class Pad
bool
activateMode

Parameters

mode GstPadMode

the requested activation mode

active bool

whether or not the pad should be active.

Return Value

Type: bool

TRUE if the operation was successful.

MT safe.