diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-02-03 10:58:49 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-02-03 10:58:49 +0100 |
commit | fc919465e0f23462ff696a9e659c1d53694f557a (patch) | |
tree | 012ccd602abe343f8247e13f0488d366f7ebf1f7 | |
parent | 863038c16a0e380f54cd5560413dbb426a4abf29 (diff) |
edid-decode: improve fail message
Explicitly state that all DTD image sizes fit inside 255x255cm.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | parse-base-block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-base-block.cpp b/parse-base-block.cpp index 7ada311..5911dda 100644 --- a/parse-base-block.cpp +++ b/parse-base-block.cpp @@ -1945,7 +1945,7 @@ void edid_state::check_base_block() if (!base.max_display_width_mm && !base.max_display_height_mm && dtd_max_hsize_mm && dtd_max_vsize_mm && dtd_max_hsize_mm <= 2559 && dtd_max_vsize_mm <= 2559) { - fail("One or more DTDs specified an image size, but no display size was set.\n"); + fail("The DTD image sizes all fit inside 255x255cm, but no display size was set.\n"); } if (base.edid_minor == 3 && num_blocks > 2 && !block_map.saw_block_1) fail("EDID 1.3 requires a Block Map Extension in Block 1 if there are more than 2 blocks in the EDID.\n"); |