DRMDumbAllocator.newWithDevicePath

Creates a new #GstDRMDumbAllocator for the specific device path. This function can fail if the path does not exist, is not a DRM device or if the DRM device doesnot support DUMB allocation.

class DRMDumbAllocator
static
newWithDevicePath
()

Parameters

drmDevicePath string

path to the DRM device to open

Return Value

Type: gstallocators.drmdumb_allocator.DRMDumbAllocator

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