diff options
Diffstat (limited to 'src/libcamera/pipeline/rkisp1/rkisp1_path.cpp')
-rw-r--r-- | src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp index 4a3b779c..236d05af 100644 --- a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp +++ b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp @@ -304,7 +304,7 @@ RkISP1Path::validate(const CameraSensor *sensor, } } - if (sensorConfig && !found) + if (sensorConfig && !rawFormat.isValid()) return CameraConfiguration::Invalid; bool isRaw = PixelFormatInfo::info(cfg->pixelFormat).colourEncoding == |