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: edid-decode: fail if calculated diagonal is >=1 inch off
Author:  Hans Verkuil <[email protected]>
Date:    Fri Jun 12 11:55:15 2026 +0200

If you pass the diagonal of the display as an option, but the
calculated diagonal based on the EDID is off by >= 1 inch,
then fail instead of warn.

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

 utils/edid-decode/edid-decode.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=da3a89e7ade1f6ec5c0635634ac78388557b4832
diff --git a/utils/edid-decode/edid-decode.cpp 
b/utils/edid-decode/edid-decode.cpp
index 3848469f1831..b54182f6832d 100644
--- a/utils/edid-decode/edid-decode.cpp
+++ b/utils/edid-decode/edid-decode.cpp
@@ -1495,7 +1495,7 @@ void edid_state::print_native_res()
                        double d = sqrt(w * w + h * h) / 254.0;
 
                        if (fabs(diagonal - d) >= 0.1) {
-                               warn("Specified diagonal is %.1f\", calculated 
diagonal is %.1f\" for EDID image size %.1fx%.1fmm.\n",
+                               msg(fabs(diagonal - d) < 1.0, "Specified 
diagonal is %.1f\", calculated diagonal is %.1f\" for EDID image size 
%.1fx%.1fmm.\n",
                                     diagonal, d, w / 10.0, h / 10.0);
                        }
                }
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to