fdMemoryGetFd

Get the fd from mem. Call gstallocators.global.isFdMemory to check if mem has an fd.

int
fdMemoryGetFd

Parameters

mem gst.memory.Memory

#GstMemory

Return Value

Type: int

the fd of mem or -1 when there is no fd on mem