drmDumbMemoryExportDmabuf

fngst.memory.Memory drmDumbMemoryExportDmabuf(gst.memory.Memory mem)

Exports a DMABuf from the DRM Bumb buffer object. One can check if this feature is supported using [gstallocators.drmdumb_allocator.DRMDumbAllocator.hasPrimeExport];

Parameters

memthe memory to export from

Returns

a #GstMemory from #GstDmaBufAllocator wrapping the exported dma-buf

file descriptor.