GhostPad.activateModeDefault

Invoke the default activate mode function of a ghost pad.

class GhostPad
static
bool
activateModeDefault

Parameters

pad Pad

the gstreamer.Pad to activate or deactivate.

parent ObjectGst

the parent of pad or NULL

mode GstPadMode

the requested activation mode

active bool

whether the pad should be active or not.

Return Value

Type: bool

TRUE if the operation was successful.