Harness.srcCrankAndPushMany

gst.types.FlowReturn srcCrankAndPushMany(int cranks, int pushes)

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.

Parameters

cranksa #gint with the number of calls to gst_harness_crank_single_clock_wait
pushesa #gint with the number of calls to gst_harness_push

Returns

a #GstFlowReturn with the result of the push