From patchwork Mon May 16 14:10:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 15909 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 2FFB4C3256 for ; Mon, 16 May 2022 14:10:55 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7C7026566D; Mon, 16 May 2022 16:10:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1652710254; bh=8WhmL1Q7/2UkeuDtkTsfW1FkL/8USIayjSt1ZXA2eko=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=uz60YJcWmeOf6BVk5/fwRa53dXvC5mo5cOJ/+HiWESXvH16WNB0AWWOwrlcLoAAl6 n+3wZMcMRIy65Z/9Cjk+ydgVm0vfAGUy9il88PMXjF/e9dfeI9WD9haZs/wFbyXIUC GLfTZ3bUQArWZCIJceMdK2VPVOPEil+Nf63uq2KtI6+qO0K7YjpIkkinExAc5XwZ6F OVdd+SVpNU1fm8AfhFaKTIqNIdu3jxn7XIxiRdTqkoLl2U5eQT8dP9j0Ia7I2HJaii b2aFxw4rERv2hDwg8gMcc4k7Dd7tG72h6fh2gx918GVLizOvlyGhPU6Li5gzLpL509 DymJiiiH6eMtQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 547EF6565D for ; Mon, 16 May 2022 16:10:49 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="NCwN8aXA"; dkim-atps=neutral Received: from deskari.lan (91-156-85-209.elisa-laajakaista.fi [91.156.85.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B1461576; Mon, 16 May 2022 16:10:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1652710249; bh=8WhmL1Q7/2UkeuDtkTsfW1FkL/8USIayjSt1ZXA2eko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NCwN8aXAR4ptWsQvQ9Apgb9KiNnJhADMCixiv5773PByCI1ieNm2n3T0sC17jjFO3 zva9NjjcbBCWHvxcp0goe7dodeAGDuHRMvHJFxn/XxtPrM/5KOng/RwoGaLo/E/sFE Zv/y8jnQJwMweWOoxXNo2eQZPlnNM4P0rTD4qRaE= To: libcamera-devel@lists.libcamera.org, David Plowman , Kieran Bingham , Laurent Pinchart , Jacopo Mondi Date: Mon, 16 May 2022 17:10:11 +0300 Message-Id: <20220516141022.96327-4-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220516141022.96327-1-tomi.valkeinen@ideasonboard.com> References: <20220516141022.96327-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 03/14] py: pymain: fix indent X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tomi Valkeinen via libcamera-devel From: Tomi Valkeinen Reply-To: Tomi Valkeinen Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Fix two minor mis-indents. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart --- src/py/libcamera/pymain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/py/libcamera/pymain.cpp b/src/py/libcamera/pymain.cpp index fb89975c..af22205e 100644 --- a/src/py/libcamera/pymain.cpp +++ b/src/py/libcamera/pymain.cpp @@ -394,7 +394,7 @@ PYBIND11_MODULE(_libcamera, m) pyStreamConfiguration .def("__str__", &StreamConfiguration::toString) .def_property_readonly("stream", &StreamConfiguration::stream, - py::return_value_policy::reference_internal) + py::return_value_policy::reference_internal) .def_property( "size", [](StreamConfiguration &self) { @@ -416,7 +416,7 @@ PYBIND11_MODULE(_libcamera, m) .def_readwrite("frame_size", &StreamConfiguration::frameSize) .def_readwrite("buffer_count", &StreamConfiguration::bufferCount) .def_property_readonly("formats", &StreamConfiguration::formats, - py::return_value_policy::reference_internal) + py::return_value_policy::reference_internal) .def_readwrite("color_space", &StreamConfiguration::colorSpace); pyStreamFormats