fdMemoryGetFd

fnint fdMemoryGetFd(gst.memory.Memory mem)

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

Parameters

mem#GstMemory

Returns

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