From patchwork Fri Sep 24 09:59:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 13918 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 1B248BF01C for ; Fri, 24 Sep 2021 09:59:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DA20C6918C; Fri, 24 Sep 2021 11:59:47 +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="HBFGH7uT"; dkim-atps=neutral Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CB9D269186 for ; Fri, 24 Sep 2021 11:59:46 +0200 (CEST) Received: by mail-pl1-x62d.google.com with SMTP id a7so6143465plm.1 for ; Fri, 24 Sep 2021 02:59:46 -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=HBFGH7uTvvpupnOsjNDXLkmnW0MwuOIhYgdVDYSAiWph48Tug1+BlXFITO3WlIISaT 7O+t8NyumbIYI/S6ZWfcN5J7aOxsW3oqkO9ssZLq3H90PWsH/8VqLq6CLQHAi2zD2ucg 6sPK6b70/pKemLApxBlQJ5d+08rExyfLQLj0rwVXbKbvc/JXjc40Wf/R3fLU7vyzawJB Y4La3QL3TC50b3P+KoVlTh/nDJRk8G+3UASQUnjdgj8+2kYjRb3mob+tGw3Hg+hGIZdg n3J+ZlZgyg9zynVT7AWAwF7HwGnRRsM6vwNyoENM00xVL6ANuHffarlxI4C27vtsfuTO v+Uw== 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=Che/IRpZTHMliNfQh2O3M2aywTucjGjdQefHvswGLlDdcJ8CqlbJ+ZTHQJD+t21yiM ghRU94w7GzOBo02ZAjD8zfu19b4/tadpsKzffh4bKRSYOtEa5v1YmawXw+8PK7uZs91G ByvOaJ+4ON6FrJ4kiObJaweeIUE26t1ld5wrNPh9AgfRGxYxIvkKEoQhB0/4rIKBLSdN mLoGxGSu3N3IEUFJM/GcWOvVqRf9C0jnxJ4AvHbIvD5LscpTEtOdyBZF0nk8/eW/s6k2 UCjq6bcbLuKOw+bkbRerFPh0C1DJhbvj/zJ0bUMvi+Z+Z3MN7/ZdPAfK9+fiAfxf+Y0X etYA== X-Gm-Message-State: AOAM530GDhKUHRVvklPVbLIfg6hQfLus8xoSAeYGD6Kzpmy3emNSSZnh t+UN46YQTuAr/fgAr3CMKdDpUMQaxlrUragb X-Google-Smtp-Source: ABdhPJwYp+1rSQVEF09BCSM5SKyLG9bL2BYXJTJufvEirtWvx9YJGEdVj5M+exfEokXlZfu65pFBjA== X-Received: by 2002:a17:90b:1d05:: with SMTP id on5mr1205029pjb.204.1632477585007; Fri, 24 Sep 2021 02:59:45 -0700 (PDT) Received: from localhost.localdomain ([1.186.166.87]) by smtp.googlemail.com with ESMTPSA id v6sm8232400pfv.83.2021.09.24.02.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 02:59:44 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Sep 2021 15:29:37 +0530 Message-Id: <20210924095937.1954349-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2] gstreamer: Fix spelling of the word, 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: Paul Elder --- 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."),