Show a patch.

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

{
    "id": 1811,
    "url": "https://patchwork.libcamera.org/api/patches/1811/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/1811/",
    "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": "<20190816092157.30852-1-kieran.bingham@ideasonboard.com>",
    "date": "2019-08-16T09:21:57",
    "name": "[libcamera-devel] libcamera: v4l2_videodevice: Support MPLANE M2M devices",
    "commit_ref": "d209b2d4b4352b21114e129d088f15ddb381dee4",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "62cb494cc773bd9cab05fcdd4fa191690ca5e1e5",
    "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/1811/mbox/",
    "series": [
        {
            "id": 461,
            "url": "https://patchwork.libcamera.org/api/series/461/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=461",
            "date": "2019-08-16T09:21:57",
            "name": "[libcamera-devel] libcamera: v4l2_videodevice: Support MPLANE M2M devices",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/461/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/1811/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/1811/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<kieran.bingham@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5482B600F9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 16 Aug 2019 11:22:05 +0200 (CEST)",
            "from localhost.localdomain\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B4EF42AF;\n\tFri, 16 Aug 2019 11:22:04 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1565947324;\n\tbh=xGuRhaaPD4qmMecPefTx+H9+vVCXKfJMZ/pDB9E7Rro=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=Rd9RltiUOsN1zHTJ16Rcy9QN6Te/6hgftSy6lc7PCRYC/Hl1Dyd1WD/09v9xSkBWZ\n\tTQqSjmAKTt463DNRueHMUi7vpVwXbFuJZ5aKnHvIvcu5n14ANNs+q76GKKM1LL8QpC\n\t7mz0XH1DLxvmU5DtTtgniYetO8Ga0vMmxruUU7Nk=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "LibCamera Devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Fri, 16 Aug 2019 10:21:57 +0100",
        "Message-Id": "<20190816092157.30852-1-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] libcamera: v4l2_videodevice: Support\n\tMPLANE M2M devices",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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>",
        "X-List-Received-Date": "Fri, 16 Aug 2019 09:22:05 -0000"
    },
    "content": "M2M devices using MPLANE API will set the V4L2_CAP_VIDEO_M2M_MPLANE\ncapability flag.\n\nEnsure that this is matched when checking for Multiplanar capabilities.\n\nFixes: 4f7625cca7ec (\"libcamera: v4l2_videodevice: Support M2M devices\")\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/include/v4l2_videodevice.h | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/include/v4l2_videodevice.h b/src/libcamera/include/v4l2_videodevice.h\nindex 0fc2dcd81d2b..4b8cf9394eb9 100644\n--- a/src/libcamera/include/v4l2_videodevice.h\n+++ b/src/libcamera/include/v4l2_videodevice.h\n@@ -50,7 +50,8 @@ struct V4L2Capability final : v4l2_capability {\n \tbool isMultiplanar() const\n \t{\n \t\treturn device_caps() & (V4L2_CAP_VIDEO_CAPTURE_MPLANE |\n-\t\t\t\t\tV4L2_CAP_VIDEO_OUTPUT_MPLANE);\n+\t\t\t\t\tV4L2_CAP_VIDEO_OUTPUT_MPLANE |\n+\t\t\t\t\tV4L2_CAP_VIDEO_M2M_MPLANE);\n \t}\n \tbool isCapture() const\n \t{\n",
    "prefixes": [
        "libcamera-devel"
    ]
}