ElementFactory.make

gst.element.Element make(string factoryname, string name = null)

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.

Parameters

factorynamea named factory to instantiate
namename of new element, or null to automatically create a unique name

Returns

new #GstElement or null

if unable to create element