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.

class DRMDumbAllocator
static
newWithFd
(
int drmFd
)

Parameters

drmFd int

file descriptor of the DRM device

Return Value

Type: gstallocators.drmdumb_allocator.DRMDumbAllocator

a new DRM Dumb allocator. Use gst.object.ObjectGst.unref to release the allocator after usage.