find

function find(name:String):Gst.Allocator {
    // Gjs wrapper for gst_allocator_find()
}

Find a previously registered allocator with name. When name is NULL, the default allocator will be returned.

name

the name of the allocator

Returns

a Gst.Allocator or NULL when the allocator with name was not registered. Use Gst.unref to release the allocator after usage.