diff options
Diffstat (limited to 'monitor-parse-edid')
-rwxr-xr-x | monitor-parse-edid | 5 |
1 files changed, 3 insertions, 2 deletions
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}) + |