GstStateChangeReturn

The possible return values from a state change function such as gst_element_set_state(). 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

NO_PREROLL3

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

Meta