set_blocking_push_mode


Description:

[ CCode ( cname = "gst_harness_set_blocking_push_mode" ) ]
public void set_blocking_push_mode ()

Setting this will make the harness block in the chain-function, and then release when pull or try_pull is called.

Can be useful when wanting to control a src-element that is not implementing id_wait so it can't be controlled by the TestClock, since it otherwise would produce buffers as fast as possible.

MT safe.

Parameters:

this

a Harness




2022 vala-language.org