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.

Methods#

class StateChangeReturn
get_name() str#

Gets a string representing the given state change result.

Added in version 1.28.

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