Harness.addSrcParse

void addSrcParse(string launchline, bool hasClockWait)

Similar to gst_harness_add_src, this allows you to specify a launch-line, which can be useful for both having more then one #GstElement acting as your src (Like a src producing raw buffers, and then an encoder, providing encoded data), but also by allowing you to set properties like "is-live" directly on the elements.

MT safe.

Parameters

launchlinea #gchar describing a gst-launch type line
hasClockWaita #gboolean specifying if the #GstElement uses gst_clock_wait_id internally.