summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/uvcvideo.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo.cpp
index 821e4c21..ad4d45d0 100644
--- a/src/libcamera/pipeline/uvcvideo.cpp
+++ b/src/libcamera/pipeline/uvcvideo.cpp
@@ -60,7 +60,11 @@ PipelineHandlerUVC::streamConfiguration(Camera *camera,
StreamConfiguration config{};
- LOG(UVC, Info) << "TODO: Return a good default format";
+ LOG(UVC, Debug) << "Retrieving default format";
+ config.width = 640;
+ config.height = 480;
+ config.pixelFormat = V4L2_PIX_FMT_YUYV;
+ config.bufferCount = 4;
configs[&stream_] = config;