* [PATCH v4l-utils] v4l2-compliance/v4l2-test-formats: fix typo
@ 2018-03-01 8:57 Alexandre Courbot
0 siblings, 0 replies; only message in thread
From: Alexandre Courbot @ 2018-03-01 8:57 UTC (permalink / raw)
To: Hans Verkuil; +Cc: linux-media, Alexandre Courbot
When using planar formats, we want to check pix_mp, not pix.
Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
---
utils/v4l2-compliance/v4l2-test-formats.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/v4l2-compliance/v4l2-test-formats.cpp b/utils/v4l2-compliance/v4l2-test-formats.cpp
index a336afdd..e9170688 100644
--- a/utils/v4l2-compliance/v4l2-test-formats.cpp
+++ b/utils/v4l2-compliance/v4l2-test-formats.cpp
@@ -452,7 +452,7 @@ static int testFormatsType(struct node *node, int ret, unsigned type, struct v4
if (!node->is_m2m)
fail_on_test(testColorspace(pix_mp.pixelformat, pix_mp.colorspace,
pix_mp.ycbcr_enc, pix_mp.quantization));
- fail_on_test(pix.field == V4L2_FIELD_ANY);
+ fail_on_test(pix_mp.field == V4L2_FIELD_ANY);
ret = check_0(pix_mp.reserved, sizeof(pix_mp.reserved));
if (ret)
return fail("pix_mp.reserved not zeroed\n");
--
2.16.2.395.g2e18187dfd-goog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-01 8:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01 8:57 [PATCH v4l-utils] v4l2-compliance/v4l2-test-formats: fix typo Alexandre Courbot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.