ElementFactory.createWithProperties

Create a new element of the type defined by the given elementfactory. The supplied list of properties, will be passed at object construction.

class ElementFactory
createWithProperties
(
string[] names = null
,)

Parameters

names string[]

array of properties names

values gobject.value.Value[]

array of associated properties values

Return Value

Type: gst.element.Element

new #GstElement or null if the element couldn't be created