This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: v4l2-compliance: allow S_PARM with TIMEPERFRAME for OUTPUT
Author:  Hans Verkuil <[email protected]>
Date:    Tue Oct 7 13:12:54 2025 +0200

VIDIOC_S_PARM with TIMEPERFRAME is allowed for Video Output
devices. The check for ENUM_FRAMEINTERVALS is Capture specific,
so we shouldn't fail on that for Output devices.

Signed-off-by: Hans Verkuil <[email protected]>

 utils/v4l2-compliance/v4l2-test-formats.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=1f9fd991466919ed4501ee716345de8ba789bd8a
diff --git a/utils/v4l2-compliance/v4l2-test-formats.cpp 
b/utils/v4l2-compliance/v4l2-test-formats.cpp
index ce85da66d669..56b6614162cf 100644
--- a/utils/v4l2-compliance/v4l2-test-formats.cpp
+++ b/utils/v4l2-compliance/v4l2-test-formats.cpp
@@ -1481,8 +1481,10 @@ static int testParmType(struct node *node, unsigned type)
         * Stateful encoders can support S_PARM without ENUM_FRAMEINTERVALS.
         * being present. In that case the limits of the chosen codec apply.
         */
-       if (!ret && (cap & V4L2_CAP_TIMEPERFRAME) && !node->has_frmintervals && 
!is_stateful_enc)
-               warn("S_PARM is supported for buftype %d, but not for 
ENUM_FRAMEINTERVALS\n", type);
+       if (!ret && (cap & V4L2_CAP_TIMEPERFRAME) && !node->has_frmintervals &&
+           !is_stateful_enc && !V4L2_TYPE_IS_OUTPUT(type))
+               warn("S_PARM is supported for buftype %s, but not for 
ENUM_FRAMEINTERVALS\n",
+                    buftype2s(type).c_str());
        if (ret == ENOTTY)
                return 0;
        /*
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to