aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmonitor-parse-edid5
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index e75ce83..87ee540 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,8 @@
Extension
o add support for Short Video Descriptor formats 1-34 (as defined by
EIA/CEA-861-B) in Video Data Blocks of CEA EDID Timing Extension
+ o set Interlace flag for ModeLines created for interlaced Detailed
+ Timings
Version 2.5 - 18 October 2009, by Anssi Hannula
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 9228d12..d3586e9 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -871,7 +871,7 @@ sub parse_edid {
nearest_ratio($h->{horizontal_active} / $h->{vertical_active}, 0.01) || sprintf("%.2f", $h->{horizontal_active} / $h->{vertical_active}),
$dpi_string ? ", $dpi_string" : '';
- $h->{ModeLine} = sprintf qq("%dx%d" $h->{pixel_clock} %d %d %d %d %d %d %d %d %shsync %svsync),
+ $h->{ModeLine} = sprintf qq("%dx%d" $h->{pixel_clock} %d %d %d %d %d %d %d %d %shsync %svsync%s),
$h->{horizontal_active}, $h->{vertical_active},
$h->{horizontal_active},
@@ -885,7 +885,8 @@ sub parse_edid {
$vertical_total,
$h->{horizontal_sync_positive} ? '+' : '-',
- $h->{vertical_sync_positive} ? '+' : '-';
+ $h->{vertical_sync_positive} ? '+' : '-',
+ $h->{interlaced} ? ' Interlace' : '';
}
$edid{diagonal_size} = sqrt(sqr($edid{max_size_horizontal}) +