Allocator.find

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

class Allocator
static
find
(
string name
)

Parameters

name string

the name of the allocator

Return Value

Type: Allocator

a gstreamer.Allocator or NULL when the allocator with name was not registered. Use gst_object_unref() to release the allocator after usage.