aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-12-12 11:51:52 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-12-12 11:51:52 +0100
commit39aa8d7dba120c48d73d5bf78dbe7a82c77afe30 (patch)
tree1f396854ebbd9bcdcf9847a38772831f08952fef
parent4f0f5f582f52a135a587e63d657efe46bb73d53d (diff)
edid-decode: fix dolby vision low latency
This bit was inverted, fix that. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: val.zapod.vz@gmail.com
-rw-r--r--parse-cta-block.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index 6b1ff3b..9d29ac1 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -966,7 +966,7 @@ static void cta_dolby_vision(const unsigned char *x, unsigned length)
unsigned char dm_version = (x[0] >> 2) & 0x07;
printf(" DM Version: %u.x\n", dm_version + 2);
printf(" Colorimetry: %s\n", (x[2] & 0x01) ? "P3-D65" : "ITU-R BT.709");
- printf(" Low Latency: %s\n", (x[3] & 0x01) ? "Only Standard" : "Standard + Low Latency");
+ printf(" Low Latency: %s\n", (x[3] & 0x01) ? "Standard + Low Latency" : "Only Standard");
printf(" Target Max Luminance: %u cd/m^2\n", 100 + (x[1] >> 1) * 50);
double lm = (x[2] >> 1) / 127.0;
printf(" Target Min Luminance: %.8f cd/m^2\n", lm * lm);

Privacy Policy