summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/pipeline/vimc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp
index ea6f28c6..9c0406be 100644
--- a/src/libcamera/pipeline/vimc.cpp
+++ b/src/libcamera/pipeline/vimc.cpp
@@ -67,7 +67,11 @@ PipeHandlerVimc::streamConfiguration(Camera *camera,
StreamConfiguration config{};
- LOG(VIMC, Info) << "TODO: Return a good default format";
+ LOG(VIMC, Debug) << "Retrieving default format";
+ config.width = 640;
+ config.height = 480;
+ config.pixelFormat = V4L2_PIX_FMT_RGB24;
+ config.bufferCount = 4;
configs[&stream_] = config;