We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24877a commit 312d4ccCopy full SHA for 312d4cc
src/modules/monitor/monitor.c
@@ -54,7 +54,7 @@ void ffPrintMonitor(FFMonitorOptions* options)
54
55
printf("%ux%u px", display->width, display->height);
56
if (display->refreshRate > 0)
57
- printf(" @ %.3f Hz", display->refreshRate);
+ printf(" @ %g Hz", ((int) (display->refreshRate * 1000 + 0.5)) / 1000.0);
58
if (inch > 0)
59
printf(" - %ux%u mm (%.2f inches, %.2f ppi)\n", display->physicalWidth, display->physicalHeight, inch, ppi);
60
else
0 commit comments