From nobody Mon Sep 14 06:59:10 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hjwxB4RhGz6s6Zr for ; Mon, 14 Sep 2026 06:59:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hjwxB3yRsz4MLK for ; Mon, 14 Sep 2026 06:59:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789369150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pbIAZHi5/tr/N9pQ1ofENF2DnUQEI1kvo7/Q/jC+3jo=; b=qRrA6uUf6COv+sxx/zbe4ZRhx657QiiE1mVuTVoKsSnQdvUjiHtREpfvGug1Wy7HE+1NHK H4Km+1MqiulFBXoXIpNhSVzZthX9U4/mvp2NgR/5zidySzW7qgDZiwi7k934/avOKjdixQ zQZyfaQvJEuX3M53rs0a0taKkMKqpJi5lccJX5cKbvVaRZJ0XMe5LwxfeSJ++0NpiXiPLD DojAEN6C6ZFrUL798Yy8ZzD4rauc60HpQgYQmML0DyKxGkVwgMW8GmJsZl53SrLf73AGhS B6BFxyd0ytwX96wo+kAhU8dIvhBehKuPm0hO4pBOQDNl+ab9CZloBxB5+0q/ZQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789369150; b=Kb3uhY56TsWRhieWAanrrVBrtdwMi0ansgU4zsyCYT+dTr8x3doTvGUQn7e7W+Vm7aD0iy 4ogwRvJ5CayufDMEE0uXjmDP8SH2z9RMTZoyTMep04H6cLoAOJZ2RngDmoEE2MtG1lyWPz 2RwtRJPCXq3inSNF0RYd/44JHofxUAWdvVN1joxtyWpwRqwQN9Y52sTfcbqqpLcdxi1kU/ 5MTw+Jbt433QjZDV2FxZiT3MWjLJqRbv0t8fm5HM9u+bgFbT05ixZRLjJyd3ZyROWKK4wy c2VyXEYKULF/JJ8KxsdV7qy0TyC6ET5O9zPCr+sHXpsHhwytHYe1Ign7zErJPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789369150; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pbIAZHi5/tr/N9pQ1ofENF2DnUQEI1kvo7/Q/jC+3jo=; b=yYHHs/hxEfyuZUXJXiHDAaGWMz7fv/xt0SqGKRaEr7HknZ7Dppw4PqLOA6pZ2TLaUvN01m SL/PrEqiTmrSzWQ3AvjgcvCobba2AbbClDWY3KrSzFQfdM1FKqvz+MuKf97d+QjskXbYH6 ogs1h/M1k/T3k49QFnPFl9NFdY0fAGXzIidtG6isUpcygU2cf9RBxwtvvUi8pExUXuYNMu GtOSce+Dl3BMsXQrl02YeZxay4q38Gv6biOWL/0F3EvU76EBuMLqm0gzaKeIduVvOfs/+c 4poM/Gl34mBrdMvSKA2IyTXwMnl5f5Ev4yfrgQkzHKSyc00506kC88gAJ20fdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hjwxB31tzz1Gnq for ; Mon, 14 Sep 2026 06:59:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2311f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 14 Sep 2026 06:59:10 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: bae084550c8c - main - video(4): add missing V4L2_CAP_EXT_PIX_FORMAT feature List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bae084550c8caa5e13504fcb5b962256b68c29be Auto-Submitted: auto-generated Date: Mon, 14 Sep 2026 06:59:10 +0000 Message-Id: <6aa79b3e.2311f.2356cc14@gitrepo.freebsd.org> The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=bae084550c8caa5e13504fcb5b962256b68c29be commit bae084550c8caa5e13504fcb5b962256b68c29be Author: Baptiste Daroussin AuthorDate: 2026-09-12 05:56:06 +0000 Commit: Baptiste Daroussin CommitDate: 2026-09-14 06:56:17 +0000 video(4): add missing V4L2_CAP_EXT_PIX_FORMAT feature this fixes, 2 failed v4l2-compliances tests --- sys/dev/video/video.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/video/video.c b/sys/dev/video/video.c index e2de3974c607..660e09642110 100644 --- a/sys/dev/video/video.c +++ b/sys/dev/video/video.c @@ -343,8 +343,9 @@ video_querycap(struct video_device *vd, struct v4l2_capability *cap) strlcpy((char *)cap->card, vc.card, sizeof(cap->card)); strlcpy((char *)cap->bus_info, vc.bus_info, sizeof(cap->bus_info)); cap->version = vc.version; - cap->device_caps = vc.capabilities; - cap->capabilities = vc.capabilities | V4L2_CAP_DEVICE_CAPS; + cap->device_caps = vc.capabilities | V4L2_CAP_EXT_PIX_FORMAT; + cap->capabilities = vc.capabilities | V4L2_CAP_DEVICE_CAPS | + V4L2_CAP_EXT_PIX_FORMAT; return (0); }