make
function make(factoryname:String, name:String):Gst.Element { // Gjs wrapper for gst_element_factory_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.
- factoryname
a named factory to instantiate
- name
name of new element, or NULL to automatically create a unique name
- Returns
new Gst.Element or NULL if unable to create element