def process_IN_DELETE(self, event): _fire_video_device_change(False, event.pathname)
def process_IN_CREATE(self, event): _fire_video_device_change(True, event.pathname)
def _device_change_callback(*args): log("device_change(%s)", args) from xpra.platform.webcam import _fire_video_device_change _fire_video_device_change()