Show a patch.

GET /api/patches/13482/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 13482,
    "url": "https://patchwork.libcamera.org/api/patches/13482/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/13482/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20210825102748.3738346-1-kieran.bingham@ideasonboard.com>",
    "date": "2021-08-25T10:27:48",
    "name": "[libcamera-devel] README.rst: Update gstreamer element guidance",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cb9da278c9934b99e25e035277efd279d0ad2176",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/13482/mbox/",
    "series": [
        {
            "id": 2391,
            "url": "https://patchwork.libcamera.org/api/series/2391/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2391",
            "date": "2021-08-25T10:27:48",
            "name": "[libcamera-devel] README.rst: Update gstreamer element guidance",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2391/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/13482/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/13482/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 DDEA2BD87D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 25 Aug 2021 10:27:53 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3EB1F688A5;\n\tWed, 25 Aug 2021 12:27:53 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D18D760259\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 25 Aug 2021 12:27:51 +0200 (CEST)",
            "from Monstersaurus.local\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6AC8B6EE;\n\tWed, 25 Aug 2021 12:27:51 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"j2AqjBGc\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1629887271;\n\tbh=dGk1keBDIzTyGW7mxWNMCsRcpbDlQgjBCDQWFF9S/eE=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=j2AqjBGch/65/rUz01lpsaMs3wHByw1UULE6rwlk1fx3ttPF0NV2kza8NvoMB2Z1Y\n\tU2nThh+ppiOPM3+n7yHLPBAq8c/udhJhVgOK0YjCR8FmWJj+UrlC783eBGAfy2yNT6\n\tOGa4Kv92A1p7yZVdDyaSHqViwXe0l9DyI1ZZHnD0=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Wed, 25 Aug 2021 11:27:48 +0100",
        "Message-Id": "<20210825102748.3738346-1-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] README.rst: Update gstreamer element\n\tguidance",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "The Gstreamer gstlibcamerasrc element operates better with the\nglimagesink, as it can perform direct renders or hardware accellerated\nimage format conversion.\n\nFurther extend the sample commands to demonstrate how to specify a fixed\nwidth and height parameter to the pipeline.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n README.rst | 19 +++++++++++++++++--\n 1 file changed, 17 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/README.rst b/README.rst\nindex fcf0f47f14c5..61ba8418a62a 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -94,7 +94,7 @@ Using GStreamer plugin\n ~~~~~~~~~~~~~~~~~~~~~~\n \n To use GStreamer plugin from source tree, set the following environment so that\n-GStreamer can find it.\n+GStreamer can find it, (This can be skipped when libcamera is installed)\n \n   export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer\n \n@@ -104,7 +104,22 @@ onto the default video display element on your system.\n \n .. code::\n \n-  gst-launch-1.0 libcamerasrc camera-name=\"Camera 1\" ! videoconvert ! autovideosink\n+  gst-launch-1.0 libcamerasrc camera-name=\"Camera 1\" ! glimagesink\n+\n+To show the first camera found you can omit the camera-name property, or you\n+can identify the camera and capabilities using:\n+\n+.. code::\n+\n+  gst-device-monitor-1.0 Video\n+\n+This will show the supported stream sizes which can be manually selected if\n+desired with a pipeline such as:\n+\n+.. code::\n+\n+  gst-launch-1.0 libcamerasrc ! 'video/x-raw,width=1280,height=720' ! \\\n+        glimagesink\n \n .. section-end-getting-started\n \n",
    "prefixes": [
        "libcamera-devel"
    ]
}