Flags

Details

class GstAllocators.FdMemoryFlags(value)

Bases: GLib.Flags

Various flags to control the operation of the fd backed memory.

New in version 1.6.

NONE = 0

no flag

KEEP_MAPPED = 1

once the memory is mapped, keep it mapped until the memory is destroyed.

MAP_PRIVATE = 2

do a private mapping instead of the default shared mapping.

DONT_CLOSE = 4

don’t close the file descriptor when the memory is freed.

New in version 1.10.