Module: Gst::BufferFlags
- Defined in:
- (unknown)
Constant Summary collapse
- LIVE =
the buffer is live data and should be discarded in the PAUSED state.
16 or :live
- 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.
32 or :decode_only
- 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.
64 or :discont
- RESYNC =
the buffer timestamps might have a discontinuity and this buffer is a good point to resynchronize.
128 or :resync
- CORRUPTED =
the buffer data is corrupted.
256 or :corrupted
- 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.
512 or :marker
- HEADER =
the buffer contains header information that is needed to decode the following data.
1024 or :header
- 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).
2048 or :gap
- DROPPABLE =
the buffer can be dropped without breaking the stream, for example to reduce bandwidth.
4096 or :droppable
- DELTA_UNIT =
this unit cannot be decoded independently.
8192 or :delta_unit
- TAG_MEMORY =
this flag is set when memory of the buffer is added/removed
16384 or :tag_memory
- SYNC_AFTER =
Elements which write to disk or permanent storage should ensure the data is synced after writing the contents of this buffer.
32768 or :sync_after
- 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.
65536 or :non_droppable
- LAST =
additional media specific flags can be added starting from this flag.
1048576 or :last