From patchwork Sun Oct 10 15:31:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 14073 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 C4DB6C323E for ; Sun, 10 Oct 2021 15:32:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D96C468543; Sun, 10 Oct 2021 17:32:44 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="I1bdNAf0"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5981B6027A for ; Sun, 10 Oct 2021 17:32:29 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C42B02FD; Sun, 10 Oct 2021 17:32:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1633879949; bh=qD8aVeQdWU68GEh2za0jSW7DLATIVbxN+HD2W3agNSA=; h=From:To:Cc:Subject:Date:From; b=I1bdNAf0IPU0jozg2GAa1rvkMAAI/7dYXJyLHTCHk8LZ/ZMybR56AvOzp2nFlEAsL uUsmPsQ62wtagvW6f6ZIu0gdpCXKdE7IrANUh/MqSXcnvMZbbc17k4gSu36TBlws3U BGiSRmAAJ9KkBnkwjRA7kAmbFAHEIAc1IQjWVfUE= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sun, 10 Oct 2021 18:31:57 +0300 Message-Id: <20211010153157.7311-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] README: Document GST_DEBUG values to debug libcamerasrc 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: Nicolas Dufresne Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Problems with libcamerasrc are reported quite frequently. To help users diagnosing them, document how to obtain libcamerasrc debug messages through GST_DEBUG. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- GStreamer-related documentation should eventually be moved to Documentation/. --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) base-commit: 962df634bd0afe12e6f38464f5e602cf1460c430 prerequisite-patch-id: 6ad689b8c9be17165b330a16c7cef62dbdfb5d8f diff --git a/README.rst b/README.rst index 341ecd926da4..ddee5538d7b9 100644 --- a/README.rst +++ b/README.rst @@ -124,6 +124,11 @@ if desired with a pipeline such as: gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1280,height=720' ! \ glimagesink +The libcamerasrc element has two log categories, named libcamera-provider (for +the video device provider) and libcamerasrc (for the operation of the camera). +All corresponding debug messages can be enabled by setting the ``GST_DEBUG`` +environment variable to ``libcamera*:7``. + .. section-end-getting-started Troubleshooting