aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-parse-edid
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2010-01-03 04:16:58 +0000
committerAnssi Hannula <anssi@mandriva.org>2010-01-03 04:16:58 +0000
commitae7368b46b8ba0d70c6039c5c88a2b60e1ac0ffb (patch)
tree3c15c7e3765e4186e6e2eda41205ed802c721765 /monitor-parse-edid
parenta3e9aad555c8df59b42cbd630e5a7abd6ed17ec2 (diff)
downloadmonitor-edid-ae7368b46b8ba0d70c6039c5c88a2b60e1ac0ffb.tar
monitor-edid-ae7368b46b8ba0d70c6039c5c88a2b60e1ac0ffb.tar.gz
monitor-edid-ae7368b46b8ba0d70c6039c5c88a2b60e1ac0ffb.tar.bz2
monitor-edid-ae7368b46b8ba0d70c6039c5c88a2b60e1ac0ffb.tar.xz
monitor-edid-ae7368b46b8ba0d70c6039c5c88a2b60e1ac0ffb.zip
monitor-parse-edid: ignore 1x1 modes
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";