From patchwork Mon Oct 13 06:31:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 24604 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 228FBC3264 for ; Mon, 13 Oct 2025 06:31:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id C962B60462; Mon, 13 Oct 2025 08:31:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="YQ5aBESY"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BC54C603DF for ; Mon, 13 Oct 2025 08:31:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=v2sAaOENHmMarM6lTcO8oe3YpoHn3VzFqslq21gKifI=; b=YQ5aBESYYIgww3YmHX8oTLXjPi 0Grb+QTGKF39UkIR44Xr3zFqY+wF8FqG5kv/ABJIeKR0ZjFxRpFFluJKs9VunXzN4p/emij81swa3 mtVXtLBjAQYvK74QJbySjvEwU6822htCqV7zSIHAub5a8nAM3UX499V9Nv/wxwdeD+M0DKmN1+8eG CuyffnH6/PwQbd+pgm3QdMWXd+AYb2oAYV/D7s19NYooISQCSHF0NcD4tSOYaRJ/MDy7pd2J6rPc+ TjKYUK6XCdUkik39wWSfc/wuZVne4z5N2P/uMHkc8NO8BJz9SvwyIBCjHygvIIRJf/7T5esupYGD8 jebav1Ig==; Received: from [49.36.127.56] (helo=uajain) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1v8C5d-008oQ5-ID; Mon, 13 Oct 2025 08:31:26 +0200 From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Nicolas Dufresne , Umang Jain Subject: [PATCH v2 0/3] gstreamer: some assorted fixes Date: Mon, 13 Oct 2025 12:01:29 +0530 Message-ID: <20251013063132.89521-5-uajain@igalia.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251013063132.89521-1-uajain@igalia.com> References: <20251013063132.89521-1-uajain@igalia.com> MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Some assorted fixes for libcamera element. Changes in v2: - Do not drop gst_libcamera_pad_get_stream() helper, adjust it accordingly, in 2/3 - Use static_cast instead of C-style casts in 2/3. Umang Jain (3): gstreamer: Shorten function name gstreamer: Associate libcamera::Stream with Pad gstreamer: Improve logging for buffer pool activation src/gstreamer/gstlibcamera-utils.cpp | 4 ++-- src/gstreamer/gstlibcamera-utils.h | 4 ++-- src/gstreamer/gstlibcamerapad.cpp | 7 +------ src/gstreamer/gstlibcamerasrc.cpp | 20 +++++++++++++------- 4 files changed, 18 insertions(+), 17 deletions(-)