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: more warnings that only apply for the first CTA
Author:  Hans Verkuil <hverk...@xs4all.nl>
Date:    Mon Mar 17 19:12:17 2025 +0100

Several more CTA-861 warnings that should only be issues for the
first CTA Extension Block.

Signed-off-by: Hans Verkuil <hverk...@xs4all.nl>

 utils/edid-decode/parse-cta-block.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=75e3f0e2c2cba0799744aed10b7c5be66bfe31c2
diff --git a/utils/edid-decode/parse-cta-block.cpp 
b/utils/edid-decode/parse-cta-block.cpp
index b52ef9da4dcf..4c2824c9a7a4 100644
--- a/utils/edid-decode/parse-cta-block.cpp
+++ b/utils/edid-decode/parse-cta-block.cpp
@@ -3041,7 +3041,11 @@ void edid_state::parse_cta_block(const unsigned char *x)
        } while (0);
 
        data_block.clear();
-       if (base.serial_number && serial_strings.size() && cta.first_cta)
+       if (!cta.first_cta)
+               return;
+
+       cta.first_cta = false;
+       if (base.serial_number && serial_strings.size())
                warn("Display Product Serial Number is set, so the Serial 
Number in the Base EDID should be 0.\n");
        if (!cta.has_vic_1 && !base.has_640x480p60_est_timing)
                fail("Required 640x480p60 timings are missing in the 
established timings"
@@ -3053,7 +3057,6 @@ void edid_state::parse_cta_block(const unsigned char *x)
                fail("Missing VCDB, needed for Set Selectable RGB Quantization 
to avoid interop issues.\n");
        if (!base.uses_srgb && !cta.has_cdb)
                warn("Add a Colorimetry Data Block with the sRGB colorimetry 
bit set to avoid interop issues.\n");
-       cta.first_cta = false;
 }
 
 void edid_state::cta_resolve_svr(timings_ext &t_ext)

Reply via email to