ElementFactory.create

gst.element.Element create(string name = null)

Create a new element of the type defined by the given elementfactory. It will be given the name supplied, since all elements require a name as their first argument.

Parameters

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

Returns

new #GstElement or null

if the element couldn't be created