fix: on video disconnect reset all context resolution

This commit is contained in:
2026-05-17 00:41:13 +02:00
parent e38f57af46
commit 4837ab2786
+2
View File
@@ -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);