:right-sidebar: True State =================================================================== .. currentmodule:: gi.repository.Gst .. class:: State :no-contents-entry: The possible states an element can be in. States can be changed using :func:`~gi.repository.Gst.Element.set_state` and checked using :func:`~gi.repository.Gst.Element.get_state`. Fields ------ .. rst-class:: interim-class .. class:: State :no-index: .. attribute:: NULL The NULL state or initial state of an element. .. attribute:: PAUSED The element is PAUSED, it is ready to accept and process data. Sink elements however only accept one buffer and then block. .. attribute:: PLAYING The element is PLAYING, the :obj:`~gi.repository.Gst.Clock` is running and the data is flowing. .. attribute:: READY The element is ready to go to PAUSED. .. attribute:: VOID_PENDING No pending state.