Show a patch.

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

{
    "id": 22930,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/22930/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22930/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20250305135256.801351-6-stanislaw.gruszka@linux.intel.com>",
    "date": "2025-03-05T13:52:56",
    "name": "[v6,5/5] pipeline: simple: Reset delayedCtrls at start.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5fca86882c18c9814006c5b8a648ef6cb870c578",
    "submitter": {
        "id": 211,
        "url": "https://patchwork.libcamera.org/api/1.1/people/211/?format=api",
        "name": "Stanislaw Gruszka",
        "email": "stanislaw.gruszka@linux.intel.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22930/mbox/",
    "series": [
        {
            "id": 5046,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5046/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5046",
            "date": "2025-03-05T13:52:51",
            "name": "libcamera: start frame events changes",
            "version": 6,
            "mbox": "https://patchwork.libcamera.org/series/5046/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22930/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22930/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 53119C3257\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  5 Mar 2025 13:53:29 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 09A4768920;\n\tWed,  5 Mar 2025 14:53:29 +0100 (CET)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.13])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9CD3A6890C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  5 Mar 2025 14:53:26 +0100 (CET)",
            "from orviesa004.jf.intel.com ([10.64.159.144])\n\tby orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n\t05 Mar 2025 05:53:27 -0800",
            "from sgruszka-mobl.ger.corp.intel.com (HELO localhost)\n\t([10.245.112.97]) by orviesa004-auth.jf.intel.com with\n\tESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Mar 2025 05:53:24 -0800"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=intel.com header.i=@intel.com\n\theader.b=\"gEdvvQux\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n\tt=1741182807; x=1772718807;\n\th=from:to:cc:subject:date:message-id:in-reply-to:\n\treferences:mime-version:content-transfer-encoding;\n\tbh=90F0usb0Gl3r9ryM8lhKN64VSuwrkfvSPBXQJEicPuk=;\n\tb=gEdvvQuxMZuKPbva1rudHPJsr+NHaQnwcs0VnhfjEMWPesYiidBWujLd\n\tZsbmo6djax+R2D67u9qFSS8BewNbxwuUmdFBAYgFAG44khIJ+44jN+QRb\n\tvFmEt48kUTJebt1+LVjrGX29A8GZk2463BZMPDwLY+2GNm3lDQjf/QxTw\n\tAzqvy4GD1m1GcT7mX1peFe1uXDftwFPbxTJpJu8Cmj1GkLTZInkbE29qC\n\tRmLvPo2vaIyk2a3Db2UuF36tkHYoxr+1sQqyiX9RjBoJGdkh0jvGkIKpo\n\tbIA4R69BDJS41unNkilr0imasZZqMW8QadrdZcWJViu7/X9MVvIYeW+xs A==;",
        "X-CSE-ConnectionGUID": [
            "3V0hcVEIS4Sjl7SzK+nL4g==",
            "T+MviJAvQ9+H42VXWGfHaA=="
        ],
        "X-CSE-MsgGUID": [
            "K+iuTSanThi9o7w3SGf2ng==",
            "5NP7lTviSFO4RpOQPtTMRw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6700,10204,11363\"; a=\"53134801\"",
            "E=Sophos;i=\"6.14,223,1736841600\"; d=\"scan'208\";a=\"53134801\"",
            "E=Sophos;i=\"6.14,223,1736841600\"; d=\"scan'208\";a=\"123735829\""
        ],
        "X-ExtLoop1": "1",
        "From": "Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Milan Zamazal <mzamazal@redhat.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tNaushir Patuck <naush@raspberrypi.com>,\n\tSakari Ailus <sakari.ailus@linux.intel.com>,\n\tHans de Goede <hdegoede@redhat.com>",
        "Subject": "[PATCH v6 5/5] pipeline: simple: Reset delayedCtrls at start.",
        "Date": "Wed,  5 Mar 2025 14:52:56 +0100",
        "Message-Id": "<20250305135256.801351-6-stanislaw.gruszka@linux.intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20250305135256.801351-1-stanislaw.gruszka@linux.intel.com>",
        "References": "<20250305135256.801351-1-stanislaw.gruszka@linux.intel.com>",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Similar like in other pipelines (IPU3, rpi) avoid using stale\nvalues of DelayedControls class when the same camera is started\nsecond time.\n\nCo-developed-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>\n---\n src/libcamera/pipeline/simple/simple.cpp | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp\nindex 58aa3dba..659b1123 100644\n--- a/src/libcamera/pipeline/simple/simple.cpp\n+++ b/src/libcamera/pipeline/simple/simple.cpp\n@@ -1376,6 +1376,7 @@ int SimplePipelineHandler::start(Camera *camera, [[maybe_unused]] const ControlL\n \n \tvideo->bufferReady.connect(data, &SimpleCameraData::imageBufferReady);\n \n+\tdata->delayedCtrls_->reset();\n \tif (frameStartEmitter) {\n \t\tret = frameStartEmitter->setFrameStartEnabled(true);\n \t\tif (ret) {\n",
    "prefixes": [
        "v6",
        "5/5"
    ]
}