CollectPads.setWaiting

Sets a pad to waiting or non-waiting mode, if at least this pad has not been created with locked waiting state, in which case nothing happens.

This function should be called with pads STREAM_LOCK held, such as in the callback.

MT safe.

class CollectPads
void
setWaiting

Parameters

data GstCollectData*

the data to use

waiting bool

boolean indicating whether this pad should operate in waiting or non-waiting mode