changeset 10709:9ab19ded1b39

printing fps with 3 dec digit instead of 2
author arpi
date Wed, 27 Aug 2003 22:30:54 +0000
parents a57e8d980652
children ef7e39061188
files libmpdemux/demux_avi.c libmpdemux/video.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_avi.c	Wed Aug 27 17:08:58 2003 +0000
+++ b/libmpdemux/demux_avi.c	Wed Aug 27 22:30:54 2003 +0000
@@ -598,7 +598,7 @@
     sh_video->i_bps=(float)vsize/(sh_video->frametime*priv->numberofframes);
   }
 
-  mp_msg(MSGT_DEMUX,MSGL_INFO,"VIDEO:  [%.4s]  %ldx%ld  %dbpp  %4.2f fps  %5.1f kbps (%4.1f kbyte/s)\n",
+  mp_msg(MSGT_DEMUX,MSGL_INFO,"VIDEO:  [%.4s]  %ldx%ld  %dbpp  %5.3f fps  %5.1f kbps (%4.1f kbyte/s)\n",
     (char *)&sh_video->bih->biCompression,
     sh_video->bih->biWidth,
     sh_video->bih->biHeight,
--- a/libmpdemux/video.c	Wed Aug 27 17:08:58 2003 +0000
+++ b/libmpdemux/video.c	Wed Aug 27 22:30:54 2003 +0000
@@ -270,7 +270,7 @@
        sh_video->i_bps=picture.bitrate * 400 / 8;
    // info:
    mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"mpeg bitrate: %d (%X)\n",picture.bitrate,picture.bitrate);
-   mp_msg(MSGT_DECVIDEO,MSGL_INFO,"VIDEO:  %s  %dx%d  (aspect %d)  %4.2f fps  %5.1f kbps (%4.1f kbyte/s)\n",
+   mp_msg(MSGT_DECVIDEO,MSGL_INFO,"VIDEO:  %s  %dx%d  (aspect %d)  %5.3f fps  %5.1f kbps (%4.1f kbyte/s)\n",
     picture.mpeg1?"MPEG1":"MPEG2",
     sh_video->disp_w,sh_video->disp_h,
     picture.aspect_ratio_information,