aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-10-01 08:59:10 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-10-01 08:59:10 +0200
commit4993146962b86550a982993b8f660f0a16e4e7b2 (patch)
tree32082a01121ef1e6fd82cb81bcf948ea844c351b
parent7aff0fafcb028c9d0673563499afa9f6874e6a3d (diff)
edid-decode: fix interlaced Vback format
The Vback format was changed in the previous patch, but the interlaced Vback format wasn't, this caused ugly interlaced timings reports. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--edid-decode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/edid-decode.cpp b/edid-decode.cpp
index d6dfea8..c58139e 100644
--- a/edid-decode.cpp
+++ b/edid-decode.cpp
@@ -477,7 +477,7 @@ static void print_detailed_timing(unsigned indent, const struct timings *t)
printf(" Both Fields");
} else if (t->interlaced) {
printf(" Vfront +0.5 Odd Field\n");
- printf("%*sVfront %4d Vsync %3u Vback %3d",
+ printf("%*sVfront %4d Vsync %3u Vback %4d",
indent, "", t->vfp, t->vsync, t->vbp);
if (!t->no_pol_vsync)
printf(" Vpol %s", t->pos_pol_vsync ? "P" : "N");

Privacy Policy