Harness.findElement

gst.element.Element findElement(string elementName)

Most useful in conjunction with gst_harness_new_parse, this will scan the #GstElements inside the #GstHarness, and check if any of them matches element_name. Typical usecase being that you need to access one of the harnessed elements for properties and/or signals.

MT safe.

Parameters

elementNamea #gchar with a #GstElementFactory name

Returns

a #GstElement or null if not found