From 828f0d97bea247205296a82197bb2795a17ae89b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 10 Oct 2021 18:31:57 +0300 Subject: 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 Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.rst') 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 -- cgit v1.2.1