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. GST_STATE_CHANGE_FAILURE the state change failed GST_STATE_CHANGE_SUCCESS the state change succeeded GST_STATE_CHANGE_ASYNC the state change will happen asynchronously GST_STATE_CHANGE_NO_PREROLL the state change succeeded but the element cannot produce data in GST_STATE_PAUSED. This typically happens with live sources.

Values

ValueMeaning
FAILURE0
SUCCESS1
ASYNC2
NO_PREROLL3

Meta