summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l2-apps/lib/v4l2_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/lib/v4l2_driver.c b/v4l2-apps/lib/v4l2_driver.c
index b57d0b02e..69c873abb 100644
--- a/v4l2-apps/lib/v4l2_driver.c
+++ b/v4l2-apps/lib/v4l2_driver.c
@@ -494,11 +494,11 @@ int v4l2_get_parm (struct v4l2_driver *drv)
drv->parm.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
if ((ret=xioctl(drv->fd,VIDIOC_G_PARM,&drv->parm))>=0) {
c=&drv->parm.parm.capture;
- printf ("PARM: capability=%d, capturemode=%d, frame time =%.3f ns "
+ printf ("PARM: capability=%d, capturemode=%d, %.3f fps "
"ext=%x, readbuf=%d\n",
c->capability,
c->capturemode,
- 100.*c->timeperframe.numerator/c->timeperframe.denominator,
+ c->timeperframe.denominator*1./c->timeperframe.numerator,
c->extendedmode, c->readbuffers);
} else {
ret=errno;