Poll.setControllable

bool setControllable(bool controllable)

When controllable is true, this function ensures that future calls to [gst.poll.Poll.wait] will be affected by [gst.poll.Poll.restart] and [gst.poll.Poll.setFlushing].

This function only works for non-timer #GstPoll objects created with [gst.poll.Poll.new_].

Parameters

controllablenew controllable state.

Returns

true if the controllability of set could be updated.