dmabuf_memory_get_fd


Description:

[ 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.

Parameters:

mem

the 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.


Namespace: Gst.Allocators