From patchwork Tue Jul 27 19:47:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vedant Paranjape X-Patchwork-Id: 13133 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 9B166C322E for ; Tue, 27 Jul 2021 19:47:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F1C0D687B6; Tue, 27 Jul 2021 21:47:57 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kcqL/2M7"; dkim-atps=neutral Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E033C60272 for ; Tue, 27 Jul 2021 21:47:55 +0200 (CEST) Received: by mail-pj1-x102f.google.com with SMTP id pf12-20020a17090b1d8cb0290175c085e7a5so6375244pjb.0 for ; Tue, 27 Jul 2021 12:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qmlnS7lRpMPGY3ylkTzt2bUw4pey18w1mDEyv8ZPOTk=; b=kcqL/2M7GRAhOLSzWfrPsLNAFtJzbrxuGYGwSvTH3GqEN7Jke7H/oyfn07LtObifGh g0mADnathrvz4twa0j0l8pZ672ZTEBfYE5MTz2ChjFzvAD4NgcweWcCA9MYBer3IOYsa u6d9e2K1XhPJDsmB+hLlgQnmklxol8Z8u23p7dJ4ZR4nwI4rubVV/wgygwuFx0WdbFVs UMhJA/e9V8/CAgCHRcqMvN7MGs7hoHGmPg3Knusi5NMh1K8gWBGscAyTtpWO2/y82xz0 REryQ46AMZlGRFGp1wK+ZzVU2cvM7Y5VTbSgP0E+pyUF9RsTHA/NM32OOU3Y1SgDmNGW 6Rpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qmlnS7lRpMPGY3ylkTzt2bUw4pey18w1mDEyv8ZPOTk=; b=G7oZaSxWZselejwuiS6HRI4Xbty0swIKgdGYspZuiXtub+vGyXFJ+FmxptwGwQxgYY PeQ0mra45EZKfIn9x1iIOhMXa/0JGq7ZGvKcgbTlIJ7CyLpp+AFBLCrk4tV+sD1yXhzK z557sgCIBzsuJac8pFsOvERj2JMxJvS6wYgmsk5GAqdn5g1YuWTuRXp8XAnRzR8/DwCD WdHLinxDkNnLhnB8cG5WT63/CugR1NeBncoeXfFCb2wE+rL2HxZLLofx639dj90XTIqK HJAU5+CLhUBfhD64Za84TPkw9qgW++aqmVUagAPMiE7NrW4P1scfEoWZ4tgvP9828E+C l4yg== X-Gm-Message-State: AOAM533i8IvdzZGJ2z82fDtZiJS/3OgYK2DVTEzOCu/W8AnaJ4uxAYQt ZDHjN8gPVHCKA/LBZEeECqZCfpCa3cqf2A== X-Google-Smtp-Source: ABdhPJyXB29w9j6HuQLnMqrVHJoWqGJFf/yNRPkfrLPCpkR6I8aVVpLvO/oyD9Fim2WjsXB9cuLbDg== X-Received: by 2002:aa7:990b:0:b029:327:6b3f:8a1c with SMTP id z11-20020aa7990b0000b02903276b3f8a1cmr24319512pff.26.1627415273730; Tue, 27 Jul 2021 12:47:53 -0700 (PDT) Received: from localhost.localdomain ([1.186.166.134]) by smtp.googlemail.com with ESMTPSA id m18sm3717997pjq.32.2021.07.27.12.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 12:47:53 -0700 (PDT) From: Vedant Paranjape To: libcamera-devel@lists.libcamera.org Date: Wed, 28 Jul 2021 01:17:24 +0530 Message-Id: <20210727194724.414595-1-vedantparanjape160201@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1] gstreamer: Update format specifier in Request Pad template X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vedant Paranjape Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Change format specifier %s to %u in request pad template Signed-off-by: Vedant Paranjape Reviewed-by: Nicolas Dufresne --- src/gstreamer/gstlibcamerasrc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gstreamer/gstlibcamerasrc.cpp b/src/gstreamer/gstlibcamerasrc.cpp index bb8ea07a..553fad02 100644 --- a/src/gstreamer/gstlibcamerasrc.cpp +++ b/src/gstreamer/gstlibcamerasrc.cpp @@ -149,7 +149,7 @@ GstStaticPadTemplate src_template = { /* More pads can be requested in state < PAUSED */ GstStaticPadTemplate request_src_template = { - "src_%s", GST_PAD_SRC, GST_PAD_REQUEST, TEMPLATE_CAPS + "src_%u", GST_PAD_SRC, GST_PAD_REQUEST, TEMPLATE_CAPS }; void