mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
qemu-usb/webcam: reset delay packet state
on feature reset initiated by guest Issue #4078
This commit is contained in:
parent
b38ec9f238
commit
908d581a8c
@ -624,6 +624,7 @@ static void usb_webcam_handle_control(USBDevice * const dev,
|
||||
state->delayed_packet = 0;
|
||||
if (state->capture) {
|
||||
state->capture = false;
|
||||
state->delay_packet = false;
|
||||
usb_webcam_capture_state_changed(state->capture);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user