GhostPad.activateModeDefault

Invoke the default activate mode function of a ghost pad.

class GhostPad
static
bool
activateModeDefault

Parameters

pad gst.pad.Pad

the #GstPad to activate or deactivate.

parent gst.object.ObjectGst

the parent of pad or null

mode gst.types.PadMode

the requested activation mode

active bool

whether the pad should be active or not.

Return Value

Type: bool

true if the operation was successful.