From patchwork Tue Apr 30 18:37:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1141 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1A65760E5B for ; Tue, 30 Apr 2019 20:38:02 +0200 (CEST) Received: from pendragon.station (net-37-182-44-227.cust.vodafonedsl.it [37.182.44.227]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A5FD156A for ; Tue, 30 Apr 2019 20:38:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1556649481; bh=fcTmE0PaNB5J5AnfzMDxfHTFr3fR7v/xEJZPk82E/mg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FXDErKfnInjofbCfESNnyR+MFum90dLtWVbUmR5afVWUOTab7RVzdhnfPF4fbblaQ ujggwvN3Ns0gPbv0FymDSHnS+nbsXTKl+i853E4krAIGiLG3R6KpfhuE5EcBsJIuKH qxl0Ud5GSSpWty+ceQRzqUH/TvNvKRtDxrU2H+to= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 30 Apr 2019 21:37:42 +0300 Message-Id: <20190430183746.28518-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190430183746.28518-1-laurent.pinchart@ideasonboard.com> References: <20190430183746.28518-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/5] libcamera: pipeline_handler: Remove duplicated log from uvc and vimc X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 18:38:02 -0000 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 Reviewed-by: Niklas Söderlund --- src/libcamera/pipeline/uvcvideo.cpp | 3 --- src/libcamera/pipeline/vimc.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/libcamera/pipeline/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo.cpp index 2f9b5e0fdc08..fd1d6df177d9 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 f70b4d3c6bab..f95140661b2a 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;