Harness.addSrc

void addSrc(string srcElementName, bool hasClockWait)

Similar to gst_harness_add_src_harness, this is a convenience to directly create a src-harness using the src_element_name name specified.

MT safe.

Parameters

srcElementNamea #gchar with the name of a #GstElement
hasClockWaita #gboolean specifying if the #GstElement uses gst_clock_wait_id internally.