MemoryFlags#

class MemoryFlags#

Flags for wrapped memory.

Fields#

class MemoryFlags
LAST#

First flag that can be used for custom purposes

NOT_MAPPABLE#

The memory can’t be mapped via map() without any preconditions. (Since: 1.2)

NO_SHARE#

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.)

PHYSICALLY_CONTIGUOUS#

The memory is physically contiguous. (Since: 1.2)

READONLY#

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

ZERO_PADDED#

The memory padding is filled with 0 bytes

ZERO_PREFIXED#

The memory prefix is filled with 0 bytes