GstBufferFlags

A set of buffer flags used to describe properties of a GstBuffer. GST_BUFFER_FLAG_LIVE the buffer is live data and should be discarded in the PAUSED state. GST_BUFFER_FLAG_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. GST_BUFFER_FLAG_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. GST_BUFFER_FLAG_RESYNC the buffer timestamps might have a discontinuity and this buffer is a good point to resynchronize. GST_BUFFER_FLAG_CORRUPTED the buffer data is corrupted. GST_BUFFER_FLAG_MARKER the buffer contains a media specific marker. for video this is typically the end of a frame boundary, for audio this is usually the start of a talkspurt. GST_BUFFER_FLAG_HEADER the buffer contains header information that is needed to decode the following data. GST_BUFFER_FLAG_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). GST_BUFFER_FLAG_DROPPABLE the buffer can be dropped without breaking the stream, for example to reduce bandwidth. GST_BUFFER_FLAG_DELTA_UNIT this unit cannot be decoded independently. GST_BUFFER_FLAG_LAST additional media specific flags can be added starting from this flag.

Values

ValueMeaning
LIVE(GstMiniObjectFlags.LAST << 0)
DECODE_ONLY(GstMiniObjectFlags.LAST << 1)
DISCONT(GstMiniObjectFlags.LAST << 2)
RESYNC(GstMiniObjectFlags.LAST << 3)
CORRUPTED(GstMiniObjectFlags.LAST << 4)
MARKER(GstMiniObjectFlags.LAST << 5)
GAP(GstMiniObjectFlags.LAST << 7)
DROPPABLE(GstMiniObjectFlags.LAST << 8)
DELTA_UNIT(GstMiniObjectFlags.LAST << 9)
LAST(GstMiniObjectFlags.LAST << 16)

Meta