Drop still shot resolution step requirement to 4/4
[adaptation/intel_mfld/gst-plugins-atomisp.git] / gst / mfldv4l2cam / v4l2camsrc_calls.c
index 7b6331b..51f2eaf 100644 (file)
@@ -2532,9 +2532,9 @@ gst_v4l2camsrc_set_capture (GstCameraSrc * camsrc, GstOperationMode mode,
         "%" GST_FOURCC_FORMAT, *width, *height, GST_FOURCC_ARGS (*pixelformat));
 
     if (try_only) {
-      /* Round width & height down to be dividable by 8 */
-      *width = (*width) & ~7;
-      *height = (*height) & ~7;
+      /* Round width & height down to be dividable by 4 */
+      *width = (*width) & ~3;
+      *height = (*height) & ~3;
       ret = TRUE;
     } else {
       ret = gst_v4l2camsrc_configure_device (v4l2camsrc, pixelformat,