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);