(self, values, ctrl_c_is_break, inputs=None, video=None, audio=None)
Initialise; default is NullQueues.
Initialise; default is NullQueues.
Initialise ; default is NullQueues .
def __init__(self, values, ctrl_c_is_break, inputs=None, video=None, audio=None):
        """Initialise; default is NullQueues."""
        self._values = values
        # input signal handlers
        self._handlers = []
        # pause-key halts everything until another keypress
        self._pause = False
        # treat ctrl+c as break interrupt
        self._ctrl_c_is_break = ctrl_c_is_break
        # F12 replacement events
        self._f12_active = False
        self.set(inputs, video, audio)
def __init__ ( self , values , ctrl_c_is_break , inputs = None , video = None , audio = None ) : self . _values = values # input signal handlers self . _handlers = [ ] # pause-key halts everything until another keypress self . _pause = False # treat ctrl+c as break interrupt self . _ctrl_c_is_break = ctrl_c_is_break # F12 replacement events self . _f12_active = False self . set ( inputs , video , audio )