From patchwork Fri Sep 24 09:57:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 13917 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 D8A4EBDC71 for ; Fri, 24 Sep 2021 09:58:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 11A446918C; Fri, 24 Sep 2021 11:58:24 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GCjZJldj"; dkim-atps=neutral Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DCA2169186 for ; Fri, 24 Sep 2021 11:58:22 +0200 (CEST) Received: by mail-pg1-x534.google.com with SMTP id t1so9402338pgv.3 for ; Fri, 24 Sep 2021 02:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+m3hCTrC9OIVcBWLjG8rJT9LMl0vk8fzOsNR8+Dv/cU=; b=GCjZJldjPFXmy7pK8RSojWLu4ngOHjRe/fWzk5cbQRRB77QRxMWu8a9x1rSUOFFbrA 6abJX90U4hRYLUiZdcEyyEU143hhTWb/QxXAW0e/U5cXAlbXdxrt0t08Fy24o5zZ52sv D7RUt7/0CFN3OIFAaXIqyMyn1y5G+w3wMYFJft2qNOEi63QO8amn0I+jX1GraHX1WPND Z6Jl4Av0ziuRVynsARfLHXjDGByfUWbX3NpoqGuEYd1G+GsBuZ/+7KlFBPeCye3o4SVh JJzwjxdoHTFJ4FeQh7pBd3V5TVCGbnnR8PCTT7h2b/FjUpgNaJ7xmAxXsr4362oRRgkI M3Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+m3hCTrC9OIVcBWLjG8rJT9LMl0vk8fzOsNR8+Dv/cU=; b=Og52VPp/1vdqZCSqugKbq+XJ6gNQFMaIEuKHe2SDUIS7ta+ckyDIR4k+1hnz7KstCi loi7mEerXA1H4qzVegQeknpFe8GaGcEuMhga5ARJl1RapYQ0iyL9kLUb7lTPkdUJuARg tIs6x+7jTheEX0Snzv2040xL1Hvx3GONVNJYfEFBOCGRiKFAniy97wQgsgza9yhSv27Q qxuHUatg70fGcKQzQwh/kNYY78A/B4Yl6avun6BSYewakOsw9Kh1H6a2NmbA6fEKo3Ch fbdYjzn95t+ozaeA066JGG2nxIGUx4xrG29dJ3wJn8q8oKfvq4RdEt+iiimYovhT/yn4 KKMA== X-Gm-Message-State: AOAM5317ntA9rHAQIGYDxYlTWKq4GhySIgIeEeTupSNLg7a3/OQOfLiX +bXjiChk50BSZdk+aU8Z2l0laIA8pKYe5yvH X-Google-Smtp-Source: ABdhPJzcXfhdLWUfFiCVHBMSqoSi7l+vhlwoIydZuwYrWDps9qVi3d6etOEuF6qYLdMrZ4I3Ovd7Xg== X-Received: by 2002:aa7:988b:0:b0:44b:23c1:bb27 with SMTP id r11-20020aa7988b000000b0044b23c1bb27mr8883879pfl.65.1632477501039; Fri, 24 Sep 2021 02:58:21 -0700 (PDT) Received: from localhost.localdomain ([1.186.166.87]) by smtp.googlemail.com with ESMTPSA id g3sm9751498pgf.1.2021.09.24.02.58.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 02:58:20 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Sep 2021 15:27:57 +0530 Message-Id: <20210924095757.1951918-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1] gstreamer: Fix spelling of the work manager used in a util function 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: , Cc: Vedant Paranjape Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Fix all name in all instances of the function gst_libcamera_get_camera_mananger to gst_libcamera_get_camera_manager. Spelling of manager was incorrect. This patch has no functional changes. Signed-off-by: Vedant Paranjape Reviewed-by: Nicolas Dufresne Reviewed-by: Laurent Pinchart --- src/gstreamer/gstlibcamera-utils.cpp | 2 +- src/gstreamer/gstlibcamera-utils.h | 2 +- src/gstreamer/gstlibcameraprovider.cpp | 2 +- src/gstreamer/gstlibcamerasrc.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gstreamer/gstlibcamera-utils.cpp b/src/gstreamer/gstlibcamera-utils.cpp index cef5b03fe204..3f2422863c03 100644 --- a/src/gstreamer/gstlibcamera-utils.cpp +++ b/src/gstreamer/gstlibcamera-utils.cpp @@ -239,7 +239,7 @@ G_LOCK_DEFINE_STATIC(cm_singleton_lock); static std::weak_ptr cm_singleton_ptr; std::shared_ptr -gst_libcamera_get_camera_mananger(int &ret) +gst_libcamera_get_camera_manager(int &ret) { std::shared_ptr cm; diff --git a/src/gstreamer/gstlibcamera-utils.h b/src/gstreamer/gstlibcamera-utils.h index 67a06db3d28a..7087fef0a94d 100644 --- a/src/gstreamer/gstlibcamera-utils.h +++ b/src/gstreamer/gstlibcamera-utils.h @@ -20,7 +20,7 @@ GstCaps *gst_libcamera_stream_configuration_to_caps(const libcamera::StreamConfi void gst_libcamera_configure_stream_from_caps(libcamera::StreamConfiguration &stream_cfg, GstCaps *caps); void gst_libcamera_resume_task(GstTask *task); -std::shared_ptr gst_libcamera_get_camera_mananger(int &ret); +std::shared_ptr gst_libcamera_get_camera_manager(int &ret); /** * \class GLibLocker diff --git a/src/gstreamer/gstlibcameraprovider.cpp b/src/gstreamer/gstlibcameraprovider.cpp index 948ba0d14037..aee6f9a2be2b 100644 --- a/src/gstreamer/gstlibcameraprovider.cpp +++ b/src/gstreamer/gstlibcameraprovider.cpp @@ -180,7 +180,7 @@ gst_libcamera_provider_probe(GstDeviceProvider *provider) * gains monitoring support. Meanwhile we need to cycle start()/stop() * to ensure every probe() calls return the latest list. */ - cm = gst_libcamera_get_camera_mananger(ret); + cm = gst_libcamera_get_camera_manager(ret); if (ret) { GST_ERROR_OBJECT(self, "Failed to retrieve device list: %s", g_strerror(-ret)); diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp index 15409106eac2..b545de4c4262 100644 --- a/src/gstreamer/gstlibcamerasrc.cpp +++ b/src/gstreamer/gstlibcamerasrc.cpp @@ -204,7 +204,7 @@ gst_libcamera_src_open(GstLibcameraSrc *self) GST_DEBUG_OBJECT(self, "Opening camera device ..."); - cm = gst_libcamera_get_camera_mananger(ret); + cm = gst_libcamera_get_camera_manager(ret); if (ret) { GST_ELEMENT_ERROR(self, LIBRARY, INIT, ("Failed listing cameras."),