Harness.srcCrankAndPushMany

Transfer data from the src-#GstHarness to the main-#GstHarness. Similar to gst_harness_push_from_src, this variant allows you to specify how many cranks and how many pushes to perform. This can be useful for both moving a lot of data at the same time, as well as cases when one crank does not equal one buffer to push and v.v.

MT safe.

class Harness
srcCrankAndPushMany
(
int cranks
,
int pushes
)

Parameters

cranks int

a #gint with the number of calls to gst_harness_crank_single_clock_wait

pushes int

a #gint with the number of calls to gst_harness_push

Return Value

Type: gst.types.FlowReturn

a #GstFlowReturn with the result of the push