summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-29 19:23:10 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-30 22:18:22 +0300
commitbaad55d00975f8931d51c333def20472457dc943 (patch)
treec687d87349bb0051cee970961302563ad3d3094c
parent7022136aaa66e06e8b6400ae247a9c151099dc9b (diff)
libcamera: pipeline_handler: Remove duplicated log from uvc and vimc
The uvcvideo and vimc pipeline handlers print the requested resolution in their configureStreams() operation. This duplicates a generic log statement in the Camera::configureStreams() method, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
-rw-r--r--src/libcamera/pipeline/uvcvideo.cpp3
-rw-r--r--src/libcamera/pipeline/vimc.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/libcamera/pipeline/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo.cpp
index 2f9b5e0f..fd1d6df1 100644
--- a/src/libcamera/pipeline/uvcvideo.cpp
+++ b/src/libcamera/pipeline/uvcvideo.cpp
@@ -109,9 +109,6 @@ int PipelineHandlerUVC::configureStreams(Camera *camera,
const StreamConfiguration *cfg = &config[&data->stream_];
int ret;
- LOG(UVC, Debug) << "Configure the camera for resolution "
- << cfg->width << "x" << cfg->height;
-
V4L2DeviceFormat format = {};
format.width = cfg->width;
format.height = cfg->height;
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp
index f70b4d3c..f9514066 100644
--- a/src/libcamera/pipeline/vimc.cpp
+++ b/src/libcamera/pipeline/vimc.cpp
@@ -109,9 +109,6 @@ int PipelineHandlerVimc::configureStreams(Camera *camera,
const StreamConfiguration *cfg = &config[&data->stream_];
int ret;
- LOG(VIMC, Debug) << "Configure the camera for resolution "
- << cfg->width << "x" << cfg->height;
-
V4L2DeviceFormat format = {};
format.width = cfg->width;
format.height = cfg->height;