StateChangeReturn

class StateChangeReturn

The possible return values from a state change function such as set_state(). Only GST_STATE_CHANGE_FAILURE is a real failure.

Fields

class StateChangeReturn
ASYNC

The state change will happen asynchronously

FAILURE

The state change failed

NO_PREROLL

The state change succeeded but the element cannot produce data in PAUSED. This typically happens with live sources.

SUCCESS

The state change succeeded