[ CCode ( cname = "gst_harness_src_crank_and_push_many" ) ]
public FlowReturn src_crank_and_push_many (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.
this |
a Harness |
cranks |
a int with the number of calls to gst_harness_crank_single_clock_wait |
pushes |
a int with the number of calls to gst_harness_push |
a FlowReturn with the result of the push |