ElementFactory.createWithProperties

gst.element.Element createWithProperties(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

namesarray of properties names
valuesarray of associated properties values

Returns

new #GstElement or null

if the element couldn't be created