From af9b912eb0c913d99ac35eadce8d4015c5f498b9 Mon Sep 17 00:00:00 2001 From: tth Date: Sat, 7 Sep 2019 11:46:50 +0200 Subject: [PATCH] display period in milliseconds --- v4l2/grabvidseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v4l2/grabvidseq.c b/v4l2/grabvidseq.c index f88dfadd..b3115442 100644 --- a/v4l2/grabvidseq.c +++ b/v4l2/grabvidseq.c @@ -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); }