display period in milliseconds

This commit is contained in:
Tonton Th 2019-09-07 11:46:50 +02:00
parent 2cdb7dac81
commit af9b912eb0

View File

@ -132,7 +132,7 @@ while ((opt = getopt(argc, argv, "d:ghn:o:O:p:s:uv")) != -1) {
if (verbosity) {
fprintf(stderr, "running %s pid=%d\n", argv[0], getpid());
fprintf(stderr, "period is %.3f microseconds\n", period);
fprintf(stderr, "period is %.3f milliseconds\n", period/1e3);
fprintf(stderr, "framesize is %dx%d\n", width, height);
}