Harness.pushAndPull

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.

class Harness
pushAndPull

Parameters

buffer gst.buffer.Buffer

a #GstBuffer to push

Return Value

Type: gst.buffer.Buffer

a #GstBuffer or null if timed out.