aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-21 12:06:19 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-21 12:06:19 +0100
commit0f2a75d1132d8634f370b5668379a0e257c1566e (patch)
tree2639cbb30cd28d711ccc57eff4fc74d10d88405d
parent26aacd37bcb52761ec3522e87e750164d99b0ec3 (diff)
edid-decode: clarify HDMI EDID 1.3 requirement
HDMI requires EDID 1.3. Clarify the somewhat confusing failure message. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--parse-cta-block.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index 3f58580..d83949f 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -1845,8 +1845,12 @@ void edid_state::cta_block(const unsigned char *x)
cta_hdmi_block(x + 1, length);
cta.last_block_was_hdmi_vsdb = 1;
cta.first_block = 0;
+ // The HDMI OUI is present, so this EDID represents an HDMI
+ // interface. And HDMI interfaces must use EDID version 1.3
+ // according to the HDMI Specification, so check for this.
if (base.edid_minor != 3)
- fail("The HDMI Specification uses EDID 1.3, not 1.%u.\n", base.edid_minor);
+ fail("The HDMI Specification requires EDID 1.3 instead of 1.%u.\n",
+ base.edid_minor);
return;
}
if (oui == 0xc45dd8) {

Privacy Policy