From c84a893380c0bfb13d5406aa1e2b2f5345d6e0a4 Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Thu, 12 Dec 2019 12:50:08 +0100 Subject: [PATCH] cosmetic changes --- v4l2/grabvidseq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v4l2/grabvidseq.c b/v4l2/grabvidseq.c index ee76f895..6f76a22d 100644 --- a/v4l2/grabvidseq.c +++ b/v4l2/grabvidseq.c @@ -313,11 +313,11 @@ for (i = 0; i < nbre_capt; i++) { xioctl(fd, VIDIOC_QBUF, &buf); } -puts(""); fflush(stdout); +fflush(stdout); if (verbosity) { t_final = fimg_timer_get(0); - fprintf(stderr, "pid %d : elapsed %g s -> %.2f fps\n", getpid(), + fprintf(stderr, "pid %d : elapsed %.3g s -> %.2f fps\n", getpid(), t_final, (double)nbre_capt / t_final); }