aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-parse-edid
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-parse-edid')
-rwxr-xr-xmonitor-parse-edid4
1 files changed, 2 insertions, 2 deletions
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";