aboutsummaryrefslogtreecommitdiffstats
path: root/parse-base-block.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-07-08 18:20:27 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-07-08 18:20:27 +0200
commitbecb0efd507149b9771803eef91f4b1273cbe941 (patch)
tree32007f65ca4a56b79b6af27464ff2f6983d9d360 /parse-base-block.cpp
parentb47e44e0fcda64938ef5314e22da7d310d672210 (diff)
edid-decode: introduce timings_ext struct
This simplifies storing timings together with the type and flags strings. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'parse-base-block.cpp')
-rw-r--r--parse-base-block.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parse-base-block.cpp b/parse-base-block.cpp
index 2b1e40a..72e6e6f 100644
--- a/parse-base-block.cpp
+++ b/parse-base-block.cpp
@@ -1331,12 +1331,12 @@ void edid_state::detailed_timings(const char *prefix, const unsigned char *x,
bool ok = print_timings(prefix, &t, s_type.c_str(), s_flags.c_str(), true);
if (block_nr == 0 && dtd_cnt == 1) {
- preferred_timings = t;
- preferred_type = s_type;
- preferred_flags = s_flags;
- native_timing = t;
- native_type = s_type;
- native_flags = s_flags;
+ preferred_timings.t = t;
+ preferred_timings.type = s_type;
+ preferred_timings.flags = s_flags;
+ native_timing.t = t;
+ native_timing.type = s_type;
+ native_timing.flags = s_flags;
}
if ((max_display_width_mm && !t.hsize_mm) ||

Privacy Policy