@@ -759,7 +759,9 @@ CameraSensorLegacy::getFormat(std::span<const unsigned int> mbusCodes,
}
if (!bestSize) {
- LOG(CameraSensor, Debug) << "No supported format or size found";
+ LOG(CameraSensor, Debug)
+ << "No supported format or size found. Requested "
+ << size << " with a maximum size " << maxSize;
return {};
}
@@ -821,7 +821,9 @@ CameraSensorRaw::getFormat(std::span<const unsigned int> mbusCodes,
}
if (!bestSize) {
- LOG(CameraSensor, Debug) << "No supported format or size found";
+ LOG(CameraSensor, Warning)
+ << "No supported format or size found. Requested "
+ << size << " with a maximum size " << maxSize;
return {};
}