MT safe.
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
mode | the requested activation mode |
active | whether or not the pad should be active. |
Returns
true if the operation was successful.