:right-sidebar: True StateChangeReturn =================================================================== .. currentmodule:: gi.repository.Gst .. class:: StateChangeReturn :no-contents-entry: The possible return values from a state change function such as :func:`~gi.repository.Gst.Element.set_state`. Only ``GST_STATE_CHANGE_FAILURE`` is a real failure. Fields ------ .. rst-class:: interim-class .. class:: StateChangeReturn :no-index: .. attribute:: ASYNC The state change will happen asynchronously .. attribute:: FAILURE The state change failed .. attribute:: NO_PREROLL The state change succeeded but the element cannot produce data in :const:`~gi.repository.Gst.State.PAUSED`. This typically happens with live sources. .. attribute:: SUCCESS The state change succeeded