[ CCode ( cprefix = "GST_BUFFER_FLAG_" , type_id = "gst_buffer_flags_get_type ()" ) ]
[ Flags ]
public enum BufferFlags
A set of buffer flags used to describe properties of a Buffer.
- CORRUPTED - the buffer data is
- 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.
- DELTA_UNIT - this unit cannot
be decoded independently.
- DISCONT - the buffer marks a data
discontinuity in the stream.
- DROPPABLE - the buffer can be
dropped without breaking the stream, for example to reduce bandwidth.
- 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).
- HEADER - the buffer contains header
information that is needed to decode the following data.
- LAST - additional media specific
flags can be added starting from this flag.
- LIVE - the buffer is live data and
should be discarded in the PAUSED state.
- MARKER - the buffer contains a
media specific marker.
- NON_DROPPABLE - This buffer
is important and should not be dropped.
- RESYNC - the buffer timestamps
might have a discontinuity and this buffer is a good point to resynchronize.
- SYNC_AFTER - Elements which
write to disk or permanent storage should ensure the data is synced after writing the contents of this buffer.
- TAG_MEMORY - this flag is set
when memory of the buffer is added/removed