State

class State

The possible states an element can be in. States can be changed using set_state() and checked using get_state().

Fields

class State
NULL

The NULL state or initial state of an element.

PAUSED

The element is PAUSED, it is ready to accept and process data. Sink elements however only accept one buffer and then block.

PLAYING

The element is PLAYING, the Clock is running and the data is flowing.

READY

The element is ready to go to PAUSED.

VOID_PENDING

No pending state.