diff options
author | Anssi Hannula <anssi@mandriva.org> | 2010-01-02 12:22:09 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mandriva.org> | 2010-01-02 12:22:09 +0000 |
commit | 8e9a4f1e49cf08dffecfab8a10176abd97c65452 (patch) | |
tree | 626dbf6dbd8a08b64fb24d8e1def46b466d5d55b | |
parent | 17df0f541ef06001bcf0da6c10522ec0d97ded28 (diff) | |
download | monitor-edid-8e9a4f1e49cf08dffecfab8a10176abd97c65452.tar monitor-edid-8e9a4f1e49cf08dffecfab8a10176abd97c65452.tar.gz monitor-edid-8e9a4f1e49cf08dffecfab8a10176abd97c65452.tar.bz2 monitor-edid-8e9a4f1e49cf08dffecfab8a10176abd97c65452.tar.xz monitor-edid-8e9a4f1e49cf08dffecfab8a10176abd97c65452.zip |
monitor-parse-edid:
set Interlace flag for ModeLines created for interlaced Detailed
Timings
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | monitor-parse-edid | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -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}) + |