GstMemoryFlags

Flags for wrapped memory. GST_MEMORY_FLAG_READONLY memory is readonly. It is not allowed to map the memory with GST_MAP_WRITE. GST_MEMORY_FLAG_NO_SHARE memory must not be shared. Copies will have to be made when this memory needs to be shared between buffers. GST_MEMORY_FLAG_ZERO_PREFIXED the memory prefix is filled with 0 bytes GST_MEMORY_FLAG_ZERO_PADDED the memory padding is filled with 0 bytes GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS the memory is physically contiguous. Since 1.2 GST_MEMORY_FLAG_NOT_MAPPABLE the memory can't be mapped via gst_memory_map() without any preconditions. Since 1.2 GST_MEMORY_FLAG_LAST first flag that can be used for custom purposes

Values

ValueMeaning
READONLYGstMiniObjectFlags.LOCK_READONLY
NO_SHARE(GstMiniObjectFlags.LAST << 0)
ZERO_PREFIXED(GstMiniObjectFlags.LAST << 1)
ZERO_PADDED(GstMiniObjectFlags.LAST << 2)
PHYSICALLY_CONTIGUOUS(GstMiniObjectFlags.LAST << 3)
NOT_MAPPABLE(GstMiniObjectFlags.LAST << 4)
LAST(GstMiniObjectFlags.LAST << 16)

Meta