From 4837ab2786510552253722725ca182ac3d49460f Mon Sep 17 00:00:00 2001 From: klemek Date: Sun, 17 May 2026 00:41:13 +0200 Subject: [PATCH] fix: on video disconnect reset all context resolution --- src/video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video.c b/src/video.c index 9ff559c..bfe5722 100644 --- a/src/video.c +++ b/src/video.c @@ -428,6 +428,8 @@ void *video_background_read(void *args) { video_capture->name); video_capture->disconnected = true; context->input_formats[input_index] = 0; + context->input_resolutions[input_index][0] = 0; + context->input_resolutions[input_index][1] = 0; } free(process_args); pthread_exit(NULL);