Skip to content

Commit adfe75d

Browse files
committed
Fix UI disappearing during passthrough by resetting video_mode
1 parent 7a57b73 commit adfe75d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ async fn run_gui(app_state: Arc<Mutex<AppState>>, mut active_stream: Option<audi
496496
let mut state = app_state.lock().unwrap();
497497
state.video_frame_rx = None;
498498
state.free_video_frame_tx = None;
499+
state.video_mode = 0;
499500
}
500501

501502
// We rely entirely on DSP thread messages to update tracker string state

0 commit comments

Comments
 (0)