summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/v4l2_videodevice/buffer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_videodevice/buffer_cache.cpp b/test/v4l2_videodevice/buffer_cache.cpp
index 0a8cb0d2..e6edd2fa 100644
--- a/test/v4l2_videodevice/buffer_cache.cpp
+++ b/test/v4l2_videodevice/buffer_cache.cpp
@@ -142,7 +142,7 @@ public:
const unsigned int numBuffers = 8;
StreamConfiguration cfg;
- cfg.pixelFormat = V4L2_PIX_FMT_YUYV;
+ cfg.pixelFormat = DRM_FORMAT_YUYV;
cfg.size = Size(600, 800);
cfg.bufferCount = numBuffers;