aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmonitor-parse-edid5
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 9e36539..c29f8e5 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -793,7 +793,10 @@ sub parse_edid {
foreach my $vmode (@vmodes) {
$h = get_many_bits($vmode, 'cea_video_data_block');
my $cea_mode = $cea_video_modes{$h->{mode}};
- next if !$cea_mode;
+ if (!$cea_mode) {
+ warn "parse_edid: unhandled CEA mode $h->{mode}\n" if $verbose;
+ next;
+ }
foreach my $pixclock (@{$cea_mode->{pixel_clock}}) {
my %det_mode = %$cea_mode;
$det_mode{pixel_clock} = $pixclock;