:right-sidebar: True BufferFlags =================================================================== .. currentmodule:: gi.repository.Gst .. class:: BufferFlags :no-contents-entry: A set of buffer flags used to describe properties of a :obj:`~gi.repository.Gst.Buffer`. Fields ------ .. rst-class:: interim-class .. class:: BufferFlags :no-index: .. attribute:: CORRUPTED The buffer data is corrupted. .. attribute:: DECODE_ONLY The buffer contains data that should be dropped because it will be clipped against the segment boundaries or because it does not contain data that should be shown to the user. .. attribute:: DELTA_UNIT This unit cannot be decoded independently. .. attribute:: DISCONT The buffer marks a data discontinuity in the stream. This typically occurs after a seek or a dropped buffer from a live or network source. .. attribute:: DROPPABLE The buffer can be dropped without breaking the stream, for example to reduce bandwidth. .. attribute:: GAP The buffer has been created to fill a gap in the stream and contains media neutral data (elements can switch to optimized code path that ignores the buffer content). .. attribute:: HEADER The buffer contains header information that is needed to decode the following data. .. attribute:: LAST Additional media specific flags can be added starting from this flag. .. attribute:: LIVE The buffer is live data and should be discarded in the PAUSED state. .. attribute:: MARKER The buffer contains a media specific marker. for video this is the end of a frame boundary, for audio this is the start of a talkspurt. for RTP packets this matches the marker flag in the RTP packet header. .. attribute:: NON_DROPPABLE This buffer is important and should not be dropped. This can be used to mark important buffers, e.g. to flag RTP packets carrying keyframes or codec setup data for RTP Forward Error Correction purposes, or to prevent still video frames from being dropped by elements due to QoS. .. versionadded:: 1.14 .. attribute:: RESYNC The buffer timestamps might have a discontinuity and this buffer is a good point to resynchronize. .. attribute:: SYNC_AFTER Elements which write to disk or permanent storage should ensure the data is synced after writing the contents of this buffer. .. versionadded:: 1.6 .. attribute:: TAG_MEMORY This flag is set when memory of the buffer is added/removed