dmabufMemoryGetFd

fnint dmabufMemoryGetFd(gst.memory.Memory mem)

Return the file descriptor associated with mem.

Parameters

memthe memory to get the file descriptor

Returns

the file descriptor associated with the memory, or -1. The file

descriptor is still owned by the GstMemory. Use dup to take a copy if you intend to use it beyond the lifetime of this GstMemory.