aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/v4l2-compliance/v4l2-test-formats.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/v4l2-compliance/v4l2-test-formats.cpp b/utils/v4l2-compliance/v4l2-test-formats.cpp
index 02c2ce9e..59e2c545 100644
--- a/utils/v4l2-compliance/v4l2-test-formats.cpp
+++ b/utils/v4l2-compliance/v4l2-test-formats.cpp
@@ -329,9 +329,8 @@ static int testColorspace(__u32 pixelformat, __u32 colorspace, __u32 ycbcr_enc,
{
fail_on_test(!colorspace);
fail_on_test(colorspace == V4L2_COLORSPACE_BT878);
- fail_on_test(pixelformat == V4L2_PIX_FMT_JPEG &&
- colorspace != V4L2_COLORSPACE_JPEG);
fail_on_test(pixelformat != V4L2_PIX_FMT_JPEG &&
+ pixelformat != V4L2_PIX_FMT_MJPEG &&
colorspace == V4L2_COLORSPACE_JPEG);
fail_on_test(colorspace >= 0xff);
fail_on_test(ycbcr_enc >= 0xff);

Privacy Policy