GstBufferCopyFlags

A set of flags that can be provided to the gst_buffer_copy_into() function to specify which items should be copied.

Values

ValueMeaning
NONE0

copy nothing

FLAGS1

flag indicating that buffer flags should be copied

TIMESTAMPS2

flag indicating that buffer pts, dts, duration, offset and offset_end should be copied

META4

flag indicating that buffer meta should be copied

MEMORY8

flag indicating that buffer memory should be reffed and appended to already existing memory. Unless the memory is marked as NO_SHARE, no actual copy of the memory is made but it is simply reffed. Add @GST_BUFFER_COPY_DEEP to force a real copy.

MERGE16

flag indicating that buffer memory should be merged

DEEP32

flag indicating that memory should always be copied instead of reffed (Since: 1.2)

Meta