GstBufferCopyFlags

A set of flags that can be provided to the gst_buffer_copy_into() function to specify which items should be copied. GST_BUFFER_COPY_NONE copy nothing GST_BUFFER_COPY_FLAGS flag indicating that buffer flags should be copied GST_BUFFER_COPY_TIMESTAMPS flag indicating that buffer pts, dts, duration, offset and offset_end should be copied GST_BUFFER_COPY_META flag indicating that buffer meta should be copied GST_BUFFER_COPY_MEMORY 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. GST_BUFFER_COPY_MERGE flag indicating that buffer memory should be merged GST_BUFFER_COPY_DEEP flag indicating that memory should always be copied instead of reffed (Since 1.2)

Values

ValueMeaning
NONE0
FLAGS(1 << 0)
TIMESTAMPS(1 << 1)
META(1 << 2)
MEMORY(1 << 3)
MERGE(1 << 4)
DEEP(1 << 5)

Meta