GstMemoryFlags

Flags for wrapped memory.

Values

ValueMeaning
Readonly2

memory is readonly. It is not allowed to map the memory with #GST_MAP_WRITE.

NoShare16

memory must not be shared. Copies will have to be made when this memory needs to be shared between buffers. (DEPRECATED: do not use in new code, instead you should create a custom GstAllocator for memory pooling instead of relying on the GstBuffer they were originally attached to.)

ZeroPrefixed32

the memory prefix is filled with 0 bytes

ZeroPadded64

the memory padding is filled with 0 bytes

PhysicallyContiguous128

the memory is physically contiguous. (Since: 1.2)

NotMappable256

the memory can't be mapped via gst.memory.Memory.map without any preconditions. (Since: 1.2)

Last1048576

first flag that can be used for custom purposes