(self)
Video/input event cycle.
Video/input event cycle.
Video / input event cycle .
def cycle(self):
        """Video/input event cycle."""
        if self.alive:
            self._drain_queue()
        if self.alive:
            self._work()
            self._check_input()
def cycle ( self ) : if self . alive : self . _drain_queue ( ) if self . alive : self . _work ( ) self . _check_input ( )