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.
dmabufMemoryGetFd
fn
int dmabufMemoryGetFd(gst.memory.Memory mem)Return the file descriptor associated with mem.
Parameters
mem | the memory to get the file descriptor |
Returns
the file descriptor associated with the memory, or -1. The file