Poll.writeControl

Write a byte to the control socket of the controllable set. This function is mostly useful for timer GstPoll objects created with gst_poll_new_timer(). It will make any current and future gst_poll_wait() function return with 1, meaning the control socket is set. After an equal amount of calls to gst_poll_read_control() have been performed, calls to gst_poll_wait() will block again until their timeout expired.

class Poll
int
writeControl
()

Return Value

Type: int

TRUE on success. FALSE when set is not controllable or when the byte could not be written.

Meta