push_and_pull


Description:

[ CCode ( cname = "gst_harness_push_and_pull" ) ]
public Buffer? push_and_pull (owned Buffer buffer)

Basically a gst_harness_push and a gst_harness_pull in one line.

Reflects the fact that you often want to do exactly this in your test: Push one buffer in, and inspect the outcome.

MT safe.

Parameters:

this

a Harness

buffer

a Buffer to push

Returns:

a Buffer or null if timed out.