mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
gstbuffer: add GST_BUFFER_FLAG_NON_DROPPABLE
This can be used to identify buffers for which a higher percentage of redundancy should be allocated when performing forward error correction, or to prevent still video frames from being dropped by elements due to QoS. https://bugzilla.gnome.org/show_bug.cgi?id=793008
This commit is contained in:
parent
e1fdb5bf03
commit
ebcdfd2e9c
1 changed files with 48 additions and 42 deletions
|
@ -212,6 +212,11 @@ typedef struct _GstBufferPool GstBufferPool;
|
|||
* writing the contents of this buffer. (Since 1.6)
|
||||
* @GST_BUFFER_FLAG_LAST: additional media specific flags can be added starting from
|
||||
* this flag.
|
||||
* @GST_BUFFER_FLAG_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. (Since 1.14)
|
||||
*
|
||||
* A set of buffer flags used to describe properties of a #GstBuffer.
|
||||
*/
|
||||
|
@ -228,6 +233,7 @@ typedef enum {
|
|||
GST_BUFFER_FLAG_DELTA_UNIT = (GST_MINI_OBJECT_FLAG_LAST << 9),
|
||||
GST_BUFFER_FLAG_TAG_MEMORY = (GST_MINI_OBJECT_FLAG_LAST << 10),
|
||||
GST_BUFFER_FLAG_SYNC_AFTER = (GST_MINI_OBJECT_FLAG_LAST << 11),
|
||||
GST_BUFFER_FLAG_NON_DROPPABLE = (GST_MINI_OBJECT_FLAG_LAST << 12),
|
||||
|
||||
GST_BUFFER_FLAG_LAST = (GST_MINI_OBJECT_FLAG_LAST << 16)
|
||||
} GstBufferFlags;
|
||||
|
|
Loading…
Reference in a new issue