aboutsummaryrefslogtreecommitdiffstats
path: root/edid-decode.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-09-07 09:28:09 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-09-07 09:28:09 +0200
commit4977248d844d1d64bd3fbe5ca05e8215b4f6f5b4 (patch)
tree4a96b6b1e00782c6757cb5c6862e882ef49c4366 /edid-decode.cpp
parentf4dee1ac14cedd0f9d9395f9e083b6bf28fb7344 (diff)
edid-decode: enable -p and -n for emscripten
Show preferred and native timings as well. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'edid-decode.cpp')
-rw-r--r--edid-decode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/edid-decode.cpp b/edid-decode.cpp
index ba78245..c924198 100644
--- a/edid-decode.cpp
+++ b/edid-decode.cpp
@@ -1233,6 +1233,8 @@ extern "C" int parse_edid(const char *input)
s_msgs[i][1].clear();
}
options[OptCheck] = 1;
+ options[OptPreferredTimings] = 1;
+ options[OptNativeTimings] = 1;
state = edid_state();
int ret = edid_from_file(input);
return ret ? ret : state.parse_edid();

Privacy Policy