From patchwork Wed May 18 13:13:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 15953 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 493E6C326C for ; Wed, 18 May 2022 13:13:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1EACA65674; Wed, 18 May 2022 15:13:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1652879634; bh=VF0PDQHKymghFB0VprBQomgf1P191nnk4IYyXXg6v5c=; 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=kE1q5EUjShm7Q/rIbLam/a97COob2eqHp8G4OWX6dQXfBvNhAJeleYQkjWgDefRtX PNCWnctUWe8J/q0eT0Pm/+RoB0XabDJbCckCOssCZAhkG5p+h0KvQCUAr57F33U9+k EwiNIADQbh2gt1J90w7yw7+93+m+OpGW+Im6rlcd6Ba5QHnOWBbTgy7dO0LonLEvit RkF8H0EOfA79+NDKazvMKYG79uf073n4GXqG2O1uxWkJI4cFRLj+7Pjo1PvUyZ80UH zPYg/P1H/14+SgAWXqbN3dXo5o45o3HQvN2GQP+lTEkQYU3v+dijpJ2exAASNciVXZ VB0KoyZsGcS2g== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C3B7D6565E for ; Wed, 18 May 2022 15:13:48 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="qpZYXQE3"; 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 DC5511BCD; Wed, 18 May 2022 15:13:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1652879628; bh=VF0PDQHKymghFB0VprBQomgf1P191nnk4IYyXXg6v5c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qpZYXQE3coxwFVXCEOBsjnXqSNaXxo5mcDZzeEGrr8dDsUjKhkJPcdjphB+fRRDgr UHJf14A5Ky4o3Uj9ui3izIyRs6I6Q6x7oD/BLjci1qOCFCnCEIA0ZcrgbQWafrWfRp 48m7j5BlV7Rb2pPXPLTcvnKon8E87EMB5/gPLWVM= To: libcamera-devel@lists.libcamera.org, David Plowman , Kieran Bingham , Laurent Pinchart , Jacopo Mondi Date: Wed, 18 May 2022 16:13:15 +0300 Message-Id: <20220518131329.66994-5-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220518131329.66994-1-tomi.valkeinen@ideasonboard.com> References: <20220518131329.66994-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 04/18] 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 Reviewed-by: Kieran Bingham --- 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