summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-10-10 18:31:57 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-10-13 01:20:10 +0300
commit828f0d97bea247205296a82197bb2795a17ae89b (patch)
treef55c4de44a72b6bb56d72ea7421ec4160c4377a6 /README.rst
parentd1007485e4eeaf1f1c800ff954537ea6fe5cdcea (diff)
README: Document GST_DEBUG values to debug libcamerasrc
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 341ecd92..ddee5538 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