ElementFactory.register

Create a new elementfactory capable of instantiating objects of the type and add the factory to plugin.

class ElementFactory
static
int
register

Parameters

plugin Plugin

GstPlugin to register the element with

name string

name of elements of this type

rank uint

rank of element (higher rank means more importance when autoplugging)

type GType

GType of element to register

Return Value

Type: int

TRUE, if the registering succeeded, FALSE on error

Meta