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.

Parameters

buffera #GstBuffer to push

Returns

a #GstBuffer or null if timed out.