[libcamera-devel] [PATCH 31/31] DNI: test: serialization: Serialize array control with a single element
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Sat Feb 29 17:42:54 CET 2020
Serializing an array control with a single element tests the difference
between single-element arrays and non-array controls.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
test/serialization/control_serialization.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/serialization/control_serialization.cpp b/test/serialization/control_serialization.cpp
index 1de54a02c443..f62efe934555 100644
--- a/test/serialization/control_serialization.cpp
+++ b/test/serialization/control_serialization.cpp
@@ -45,7 +45,7 @@ protected:
list.set(controls::Brightness, 255);
list.set(controls::Contrast, 128);
list.set(controls::Saturation, 50);
- list.set(controls::BayerGains, { 1.0f, 1.1f, 0.9f, 1.0f });
+ list.set(controls::BayerGains, { 1.0f });
/*
* Serialize the control list, this should fail as the control
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list