summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/camera-sensor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/camera-sensor.cpp b/test/camera-sensor.cpp
index 092cbdd8..9fe59cc9 100644
--- a/test/camera-sensor.cpp
+++ b/test/camera-sensor.cpp
@@ -83,7 +83,8 @@ protected:
return TestFail;
}
- V4L2SubdeviceFormat format = sensor_->getFormat({ MEDIA_BUS_FMT_UYVY8_2X8,
+ /* Use an invalid format and make sure it's not selected. */
+ V4L2SubdeviceFormat format = sensor_->getFormat({ 0xdeadbeef,
MEDIA_BUS_FMT_SBGGR10_1X10,
MEDIA_BUS_FMT_BGR888_1X24 },
Size(1024, 768));