Harness.addSrcParse

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.

class Harness
void
addSrcParse
(
string launchline
,)

Parameters

launchline string

a #gchar describing a gst-launch type line

hasClockWait bool

a #gboolean specifying if the #GstElement uses gst_clock_wait_id internally.