ElementFactory.make

Create a new element of the type defined by the given element factory. The element will receive a guaranteed unique name, consisting of the element factory name and a number.

  1. Element make(string factoryname)
    class ElementFactory
    static
    make
    ()
  2. Element make(string factoryname, string name)

Parameters

factoryname string

a named factory to instantiate

Return Value

Type: Element

new GstElement or NULL if unable to create element