CollectPads.setWaiting

void setWaiting(gstbase.collect_data.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 pads STREAM_LOCK held, such as in the callback.

MT safe.

Parameters

datathe data to use
waitingboolean indicating whether this pad should operate in waiting or non-waiting mode