Patch Detail
Show a patch.
GET /api/patches/13138/?format=api
{ "id": 13138, "url": "https://patchwork.libcamera.org/api/patches/13138/?format=api", "web_url": "https://patchwork.libcamera.org/patch/13138/", "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": "<20210728143737.510546-1-vedantparanjape160201@gmail.com>", "date": "2021-07-28T14:37:37", "name": "[libcamera-devel,v2] gstreamer: Update format specifier in Request Pad template", "commit_ref": "0e8d8fbd4e47217c897b410cfe0163b88ae1dade", "pull_url": null, "state": "accepted", "archived": false, "hash": "12ef82edb4af6650ae1c82509158821c8d6f3370", "submitter": { "id": 85, "url": "https://patchwork.libcamera.org/api/people/85/?format=api", "name": "Vedant Paranjape", "email": "vedantparanjape160201@gmail.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/13138/mbox/", "series": [ { "id": 2287, "url": "https://patchwork.libcamera.org/api/series/2287/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2287", "date": "2021-07-28T14:37:37", "name": "[libcamera-devel,v2] gstreamer: Update format specifier in Request Pad template", "version": 2, "mbox": "https://patchwork.libcamera.org/series/2287/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/13138/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/13138/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 152DCC3230\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 28 Jul 2021 14:38:09 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6A41660506;\n\tWed, 28 Jul 2021 16:38:08 +0200 (CEST)", "from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com\n\t[IPv6:2607:f8b0:4864:20::1031])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B4E4A60506\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 28 Jul 2021 16:38:06 +0200 (CEST)", "by mail-pj1-x1031.google.com with SMTP id ca5so5386945pjb.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 28 Jul 2021 07:38:06 -0700 (PDT)", "from localhost.localdomain ([1.186.165.31])\n\tby smtp.googlemail.com with ESMTPSA id\n\th14sm194523pfo.47.2021.07.28.07.38.02\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 28 Jul 2021 07:38:04 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"g501Lw6U\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=5WW6h3MEnf4ttO2gQw4Mk5Tmn7+JEghWnCcMxdeSQP8=;\n\tb=g501Lw6UrhyNj84e4GDa/hK5c3rPR8r9f8uiDfyxBpEAfA40KM3+IbmwqM8RFf3yaI\n\tw3lc8oXqB3NSLpdocVDSZIqdZ1WnE1QgOGT5PZYsM4hAQfm0PW0DF72ThXsmh1v2ad4+\n\tvuw6ruAaSOSEevXKn3n1GEA3q3Of0vNWy10OPV6ST1JtP+GZei2pZ4Muzr7JhT72ZUa2\n\ti/yS6k6SQttfK98XEEttjnCBmk27ewkiWjWtARlu2ch/BewsqpHC07v1H8QJjueL8GQd\n\to9Ohs3FuEnDAipIpYBdDKaIOxhNuyNIOavZqoMn20zvRiAnARLE/s42zoJklbp5hoY6e\n\tokoQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=5WW6h3MEnf4ttO2gQw4Mk5Tmn7+JEghWnCcMxdeSQP8=;\n\tb=jIluW2aQp5ISYJIsT9pfWl/3bSbhTx/CuvnVMpBMhY5MyJ3tUJ9xruD8qFna9pueXi\n\t3gwzf5QK0NLtcL2x5mQCNqEZhLMopI+jRhpxjDTHy+lBvnJpOLMgzEEjKLeAp3Ec+wa6\n\te9j1uKs0ejCnth2I9Gj1boQKaLXm4X0U1/sanKgJwUxovZUklgO5XJke27oMzgkFzDbk\n\tl/p7yHN8/JuZp4FEa8lwBalVtEBGy6qWnXeMb1QNRZrceIz6BX+gpqyu+0aoCBy+tDJr\n\tPC928/Mm4kH82JpuNDiwkDdjR4sEIdjr1F42KPuZMI9eJSXoN+016EW7xf+UVgC1e34q\n\te5hw==", "X-Gm-Message-State": "AOAM531qgKueaNbS4hHBtk+E1lFCD+JKQxbabc2cVZw/Ru5mXXrG45LG\n\t8inyuLAaRa3OIm2MZxxYr/SKQ35W+AQd2acxR/M=", "X-Google-Smtp-Source": "ABdhPJyAKDcXhlgf6dXiBQKo+lbI+qXAS8kDXSULIsY5S7mNO1XWCJOAU8GZScxcBh84XOW1K2Zh9A==", "X-Received": "by 2002:a62:36c5:0:b029:32b:83fa:3a3e with SMTP id\n\td188-20020a6236c50000b029032b83fa3a3emr232764pfa.52.1627483084859; \n\tWed, 28 Jul 2021 07:38:04 -0700 (PDT)", "From": "Vedant Paranjape <vedantparanjape160201@gmail.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 28 Jul 2021 20:07:37 +0530", "Message-Id": "<20210728143737.510546-1-vedantparanjape160201@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v2] gstreamer: Update format specifier in\n\tRequest Pad template", "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": "Vedant Paranjape <vedantparanjape160201@gmail.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Change format specifier %s to %u in name template field of request pad\ntemplate.\n\nPad names are as follows, src_0, src_1, etc. So, instead of using string\nformat specifier, unsigned integer format specifier is used.\n\nSigned-off-by: Vedant Paranjape <vedantparanjape160201@gmail.com>\n---\n src/gstreamer/gstlibcamerasrc.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp\nindex bb8ea07a..553fad02 100644\n--- a/src/gstreamer/gstlibcamerasrc.cpp\n+++ b/src/gstreamer/gstlibcamerasrc.cpp\n@@ -149,7 +149,7 @@ GstStaticPadTemplate src_template = {\n \n /* More pads can be requested in state < PAUSED */\n GstStaticPadTemplate request_src_template = {\n-\t\"src_%s\", GST_PAD_SRC, GST_PAD_REQUEST, TEMPLATE_CAPS\n+\t\"src_%u\", GST_PAD_SRC, GST_PAD_REQUEST, TEMPLATE_CAPS\n };\n \n void\n", "prefixes": [ "libcamera-devel", "v2" ] }