ElementFactory.make

Create a new element of the type defined by the given element factory. If name is null, then the element will receive a guaranteed unique name, consisting of the element factory name and a number. If name is given, it will be given the name supplied.

class ElementFactory
static
make
(,
string name = null
)

Parameters

factoryname string

a named factory to instantiate

name string

name of new element, or null to automatically create a unique name

Return Value

Type: gst.element.Element

new #GstElement or null if unable to create element