{"id":19476,"url":"https://patchwork.libcamera.org/api/1.1/patches/19476/?format=json","web_url":"https://patchwork.libcamera.org/patch/19476/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20240202090805.120601-1-nicolas@ndufresne.ca>","date":"2024-02-02T09:08:05","name":"doc: gstreamer: Add missing queues","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"ffe85790dff6294531f257f789dbdb0d12a89a6b","submitter":{"id":30,"url":"https://patchwork.libcamera.org/api/1.1/people/30/?format=json","name":"Nicolas Dufresne","email":"nicolas@ndufresne.ca"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/19476/mbox/","series":[{"id":4165,"url":"https://patchwork.libcamera.org/api/1.1/series/4165/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4165","date":"2024-02-02T09:08:05","name":"doc: gstreamer: Add missing queues","version":1,"mbox":"https://patchwork.libcamera.org/series/4165/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/19476/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/19476/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 6D945BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  2 Feb 2024 09:08:15 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DBFB962803;\n\tFri,  2 Feb 2024 10:08:14 +0100 (CET)","from madrid.collaboradmins.com (madrid.collaboradmins.com\n\t[IPv6:2a00:1098:ed:100::25])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 091E262801\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  2 Feb 2024 10:08:13 +0100 (CET)","from nicolas-tpx395.localdomain (cola.collaboradmins.com\n\t[195.201.22.229])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (4096 bits)\n\tserver-digest SHA256)\n\t(No client certificate requested) (Authenticated sender: nicolas)\n\tby madrid.collaboradmins.com (Postfix) with ESMTPSA id A10983782082; \n\tFri,  2 Feb 2024 09:08:12 +0000 (UTC)"],"From":"Nicolas Dufresne <nicolas@ndufresne.ca>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH] doc: gstreamer: Add missing queues","Date":"Fri,  2 Feb 2024 10:08:05 +0100","Message-ID":"<20240202090805.120601-1-nicolas@ndufresne.ca>","X-Mailer":"git-send-email 2.43.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"Nicolas Dufresne <nicolas.dufresne@collabora.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"From: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n\nAs libcamerasrc reports some latency, a queue is needed in order to store the\ndata in case the buffers has been produced slightly ahead of our reported\nlatency.\n\nSigned-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>\n---\n README.rst | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)","diff":"diff --git a/README.rst b/README.rst\nindex 6b764fb7..cc39cd5f 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -134,7 +134,7 @@ onto the OpenGL accelerated display element on your system.\n \n .. code::\n \n-  gst-launch-1.0 libcamerasrc camera-name=\"Camera 1\" ! glimagesink\n+  gst-launch-1.0 libcamerasrc camera-name=\"Camera 1\" ! queue ! glimagesink\n \n To show the first camera found you can omit the camera-name property, or you\n can list the cameras and their capabilities using:\n@@ -149,7 +149,7 @@ if desired with a pipeline such as:\n .. code::\n \n   gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1280,height=720' ! \\\n-        glimagesink\n+                 queue ! glimagesink\n \n The libcamerasrc element has two log categories, named libcamera-provider (for\n the video device provider) and libcamerasrc (for the operation of the camera).\n@@ -165,7 +165,7 @@ the following example could be used as a starting point:\n \n    gst-launch-1.0 libcamerasrc ! \\\n         video/x-raw,colorimetry=bt709,format=NV12,width=1280,height=720,framerate=30/1 ! \\\n-        jpegenc ! multipartmux ! \\\n+        queue ! jpegenc ! multipartmux ! \\\n         tcpserversink host=0.0.0.0 port=5000\n \n Which can be received on another device over the network with:\n","prefixes":[]}