GstStateChangeReturn

The possible return values from a state change function such as gst.element.Element.setState. Only @GST_STATE_CHANGE_FAILURE is a real failure.

Values

ValueMeaning
Failure0

the state change failed

Success1

the state change succeeded

Async2

the state change will happen asynchronously

NoPreroll3

the state change succeeded but the element cannot produce data in gst.types.State.Paused. This typically happens with live sources.