dmabufMemoryGetFd

Return the file descriptor associated with mem.

int
dmabufMemoryGetFd

Parameters

mem gst.memory.Memory

the memory to get the file descriptor

Return Value

Type: int

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.