[ CCode ( cname = "gst_dmabuf_memory_get_fd" ) ]
[ Version ( since = "1.2" ) ]
public int dmabuf_memory_get_fd (Memory mem)
Return the file descriptor associated with mem
.
mem |
the memory to get the file descriptor |
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. |