set_waiting


Description:

public void set_waiting (CollectData data, bool waiting)

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 this STREAM_LOCK held, such as in the callback.

MT safe.

Parameters:

this

the collectpads

data

the data to use

waiting

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