ElementFactory.makeWithProperties

gst.element.Element makeWithProperties(string factoryname, string[] names = null, gobject.value.Value[] values = null)

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

Parameters

factorynamea named factory to instantiate
namesarray of properties names
valuesarray of associated properties values

Returns

new #GstElement or null

if the element couldn't be created