diff --git a/src/src/LPF_V4L2.c b/src/src/LPF_V4L2.c index 7a79ecdf..a6a180b4 100644 --- a/src/src/LPF_V4L2.c +++ b/src/src/LPF_V4L2.c @@ -220,6 +220,8 @@ int camInit(const char *devicename) my_config->height = get_my_height(); } else { v4l2core_prepare_new_resolution(my_vd, my_config->width, my_config->height); + my_config->width = get_my_width(); + my_config->height = get_my_height(); } ret = v4l2core_update_old_format(my_vd, my_config->width, my_config->height, v4l2core_get_requested_frame_format(my_vd)); } else {