diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | monitor-parse-edid | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -19,6 +19,7 @@ o correctly parse some interlaced video timings if the Detailed Timing Descriptor specifies field vertical parameters instead of the frame parameters + o ignore 1x1 modes (at least Nokia Valuegraph 447w) Version 2.5 - 18 October 2009, by Anssi Hannula diff --git a/monitor-parse-edid b/monitor-parse-edid index a702cc6..73fc264 100755 --- a/monitor-parse-edid +++ b/monitor-parse-edid @@ -712,7 +712,7 @@ sub parse_edid { # detailed timing my $h = build_detailed_timing($pixel_clock, $vv); push @{$edid{detailed_timings}}, $h - if $h->{horizontal_active} > 0 && $h->{vertical_active} > 0; + if $h->{horizontal_active} > 1 && $h->{vertical_active} > 1; } else { (my $flag, $vv) = unpack("n x a*", $vv); @@ -812,7 +812,7 @@ sub parse_edid { last if !$pixel_clock; my $h = build_detailed_timing($pixel_clock, $vv); push @{$edid{detailed_timings}}, $h - if $h->{horizontal_active} > 0 && $h->{vertical_active} > 0; + if $h->{horizontal_active} > 1 && $h->{vertical_active} > 1; } } else { $verbose && warn "parse_edid: unknown tag $tag\n"; |