Gjsify LogoGjsify Logo

A set of buffer flags used to describe properties of a #GstBuffer.

bitfield

Index

Enumeration Members

CORRUPTED: number

the buffer data is corrupted.

DECODE_ONLY: number

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: number

this unit cannot be decoded independently.

DISCONT: number

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.

DROPPABLE: number

the buffer can be dropped without breaking the stream, for example to reduce bandwidth.

GAP: number

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: number

the buffer contains header information that is needed to decode the following data.

LAST: number

additional media specific flags can be added starting from this flag.

LIVE: number

the buffer is live data and should be discarded in the PAUSED state.

MARKER: number

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.

NON_DROPPABLE: number

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.

RESYNC: number

the buffer timestamps might have a discontinuity and this buffer is a good point to resynchronize.

SYNC_AFTER: number

Elements which write to disk or permanent storage should ensure the data is synced after writing the contents of this buffer.

TAG_MEMORY: number

this flag is set when memory of the buffer is added/removed

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method