PadMode

class PadMode

The status of a GstPad. After activating a pad, which usually happens when the parent element goes from READY to PAUSED, the GstPadMode defines if the pad operates in push or pull mode.

Methods

class PadMode
get_name(mode: PadMode) str

Return the name of a pad mode, for use in debug messages mostly.

Parameters:

mode – the pad mode

Fields

class PadMode
NONE

Pad will not handle dataflow

PULL

Pad handles dataflow in upstream pull mode

PUSH

Pad handles dataflow in downstream push mode