pipeline: simple: Improve debug log in validate()
Improve the debug log while adjusting the StreamConfiguration's pixel format. The log should clearly indicate the requested pixel format and the adjusted pixel format. Signed-off-by: Umang Jain <uajain@igalia.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
14882b8314
commit
01a9b83f38
@@ -1207,7 +1207,9 @@ CameraConfiguration::Status SimpleCameraConfiguration::validate()
|
||||
|
||||
PixelFormat pixelFormat = *it;
|
||||
if (cfg.pixelFormat != pixelFormat) {
|
||||
LOG(SimplePipeline, Debug) << "Adjusting pixel format";
|
||||
LOG(SimplePipeline, Debug)
|
||||
<< "Adjusting pixel format from "
|
||||
<< cfg.pixelFormat << " to " << pixelFormat;
|
||||
cfg.pixelFormat = pixelFormat;
|
||||
status = Adjusted;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user