aboutsummaryrefslogtreecommitdiffstats
path: root/parse-base-block.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-04 10:45:58 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-11-04 10:45:58 +0100
commit26aacd37bcb52761ec3522e87e750164d99b0ec3 (patch)
tree4d9a2011106eab25ded99429bc6c1c0be7cff8c4 /parse-base-block.cpp
parenteed6314d03f8eded3c549c4e58b59624f60f44e4 (diff)
edid-decode: t.rb is an integer, not a bool
t.rb contains the reduced blanking version, so use 0 and 1, not false and true. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'parse-base-block.cpp')
-rw-r--r--parse-base-block.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-base-block.cpp b/parse-base-block.cpp
index 699c0f6..8d5d722 100644
--- a/parse-base-block.cpp
+++ b/parse-base-block.cpp
@@ -526,7 +526,7 @@ void edid_state::edid_gtf_mode(unsigned refresh, struct timings &t)
t.pos_pol_hsync = false;
t.pos_pol_vsync = true;
t.interlaced = false;
- t.rb = false;
+ t.rb = 0;
}
/*
@@ -771,7 +771,7 @@ void edid_state::detailed_cvt_descriptor(const char *prefix, const unsigned char
print_timings(prefix, &cvt_t, "CVT", preferred == 3 ? s_pref : "");
}
if (x[2] & 0x01) {
- cvt_t.rb = true;
+ cvt_t.rb = 1;
edid_cvt_mode(60, cvt_t);
print_timings(prefix, &cvt_t, "CVT", preferred == 4 ? s_pref : "");
}

Privacy Policy