Poll.readControl

Read a byte from the control socket of the controllable @set.

This function only works for timer #GstPoll objects created with gst_poll_new_timer().

class Poll
bool
readControl
()

Return Value

Type: bool

%TRUE on success. %FALSE when when there was no byte to read or reading the byte failed. If there was no byte to read, and only then, errno will contain EWOULDBLOCK or EAGAIN. For all other values of errno this always signals a critical error.

Meta