aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-parse-edid
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-28 23:19:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-28 23:19:36 +0000
commitcb8e7d7180a87f2170139fb6f8216a5d50572739 (patch)
treecae0748679de58c9385fa1f4cef0c8ea999a613e /monitor-parse-edid
parent9710fa2bf357cb6de2fd8069e4bca96563c822ff (diff)
downloadmonitor-edid-cb8e7d7180a87f2170139fb6f8216a5d50572739.tar
monitor-edid-cb8e7d7180a87f2170139fb6f8216a5d50572739.tar.gz
monitor-edid-cb8e7d7180a87f2170139fb6f8216a5d50572739.tar.bz2
monitor-edid-cb8e7d7180a87f2170139fb6f8216a5d50572739.tar.xz
monitor-edid-cb8e7d7180a87f2170139fb6f8216a5d50572739.zip
don't display the video bandwidth when it's not given
Diffstat (limited to 'monitor-parse-edid')
-rwxr-xr-xmonitor-parse-edid2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 2a2163b..51334eb 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -374,7 +374,7 @@ sub print_edid {
}
if ($edid->{monitor_range}) {
- printf "Max video bandwidth: %u MHz\n", $edid->{monitor_range}{pixel_clock_max};
+ printf "Max video bandwidth: %u MHz\n", $edid->{monitor_range}{pixel_clock_max} if $edid->{monitor_range}{pixel_clock_max};
print "\n";
printf "\tHorizSync %u-%u\n", $edid->{monitor_range}{horizontal_min}, $edid->{monitor_range}{horizontal_max};
printf "\tVertRefresh %u-%u\n", $edid->{monitor_range}{vertical_min}, $edid->{monitor_range}{vertical_max};