aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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};