DRMDumbAllocator.newWithFd

Creates a new #GstDRMDumbAllocator for the specific file desciptor. This function can fail if the file descriptor is not a DRM device or if the DRM device does not support DUMB allocation.

Parameters

drmFdfile descriptor of the DRM device

Returns

a new DRM Dumb allocator. Use [gst.object.ObjectWrap.unref]

to release the allocator after usage.