DRMDumbAllocator.newWithDevicePath

gstallocators.drmdumb_allocator.DRMDumbAllocator newWithDevicePath(string drmDevicePath)

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.

Parameters

drmDevicePathpath to the DRM device to open

Returns

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

to release the allocator after usage.