Patch Detail
Show a patch.
GET /api/patches/1393/?format=api
{ "id": 1393, "url": "https://patchwork.libcamera.org/api/patches/1393/?format=api", "web_url": "https://patchwork.libcamera.org/patch/1393/", "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": "<20190611132137.7271-1-niklas.soderlund@ragnatech.se>", "date": "2019-06-11T13:21:37", "name": "[libcamera-devel] test: camera: Increase runtime for capture test", "commit_ref": "d9a468aaac2a58d36d0f65ac54aae29e72f2482a", "pull_url": null, "state": "accepted", "archived": false, "hash": "8368c416bfc9d4d385759dccef5278efe623be64", "submitter": { "id": 5, "url": "https://patchwork.libcamera.org/api/people/5/?format=api", "name": "Niklas Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/1393/mbox/", "series": [ { "id": 348, "url": "https://patchwork.libcamera.org/api/series/348/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=348", "date": "2019-06-11T13:21:37", "name": "[libcamera-devel] test: camera: Increase runtime for capture test", "version": 1, "mbox": "https://patchwork.libcamera.org/series/348/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/1393/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/1393/checks/", "tags": {}, "headers": { "Return-Path": "<niklas.soderlund@ragnatech.se>", "Received": [ "from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 991E162F91\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 11 Jun 2019 15:21:50 +0200 (CEST)", "from bismarck.berto.se (unknown [89.233.230.99])\n\tby bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA\n\tid c58c4fc7-8c4b-11e9-8601-0050569116f7;\n\tTue, 11 Jun 2019 15:21:13 +0200 (CEST)" ], "X-Halon-ID": "c58c4fc7-8c4b-11e9-8601-0050569116f7", "Authorized-sender": "niklas@soderlund.pp.se", "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 11 Jun 2019 15:21:37 +0200", "Message-Id": "<20190611132137.7271-1-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.22.0", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH] test: camera: Increase runtime for\n\tcapture test", "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": "Tue, 11 Jun 2019 13:21:50 -0000" }, "content": "Upstream commit 2978a505aaa981b2 (\"media: vimc: stream: fix thread state\nbefore sleep\") changes the frame rate when capturing from the vimc raw\ncapture video nodes. The commit changes the frame rate from thousands of\nframes per second to to roughly fifty.\n\nThe libcamera capture test was written with the assumption that vimc\nwould keep providing this fast frame rate and ran for a very short time\nto decrease the overall run time of tests. This is no longer possible\nand the test fails as it can't capture enough frames in its runtime,\nincrease the runtime to match the new vimc frame rate.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n test/camera/capture.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp\nindex 98e71905531c76fe..7ce247cc482dfe4c 100644\n--- a/test/camera/capture.cpp\n+++ b/test/camera/capture.cpp\n@@ -115,7 +115,7 @@ protected:\n \t\tEventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher();\n \n \t\tTimer timer;\n-\t\ttimer.start(100);\n+\t\ttimer.start(1000);\n \t\twhile (timer.isRunning())\n \t\t\tdispatcher->processEvents();\n \n", "prefixes": [ "libcamera-devel" ] }