Browse Source

display period in milliseconds

master
tth 3 years ago
parent
commit
af9b912eb0
  1. 2
      v4l2/grabvidseq.c

2
v4l2/grabvidseq.c

@ -132,7 +132,7 @@ while ((opt = getopt(argc, argv, "d:ghn:o:O:p:s:uv")) != -1) { @@ -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);
}

Loading…
Cancel
Save