diff options
-rw-r--r-- | help/help_mp-en.h | 4 | ||||
-rw-r--r-- | mencoder.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/help/help_mp-en.h b/help/help_mp-en.h index 37f1719ef7..14580c4319 100644 --- a/help/help_mp-en.h +++ b/help/help_mp-en.h @@ -266,8 +266,8 @@ static char help_text[]= "Your encode might be broken!\n" #define MSGTR_ErrorWritingFile "%s: Error writing file.\n" #define MSGTR_RecommendedVideoBitrate "Recommended video bitrate for %s CD: %d\n" -#define MSGTR_VideoStreamResult "\nVideo stream: %8.3f kbit/s (%d B/s) size: %d bytes %5.3f secs %d frames\n" -#define MSGTR_AudioStreamResult "\nAudio stream: %8.3f kbit/s (%d B/s) size: %d bytes %5.3f secs\n" +#define MSGTR_VideoStreamResult "\nVideo stream: %8.3f kbit/s (%d B/s) size: %"PRIu64" bytes %5.3f secs %d frames\n" +#define MSGTR_AudioStreamResult "\nAudio stream: %8.3f kbit/s (%d B/s) size: %"PRIu64" bytes %5.3f secs\n" #define MSGTR_OpenedStream "success: format: %d data: 0x%X - 0x%x\n" #define MSGTR_VCodecFramecopy "videocodec: framecopy (%dx%d %dbpp fourcc=%x)\n" #define MSGTR_ACodecFramecopy "audiocodec: framecopy (format=%x chans=%d rate=%d bits=%d B/s=%d sample-%d)\n" diff --git a/mencoder.c b/mencoder.c index 223f96de30..71b6a8c6f9 100644 --- a/mencoder.c +++ b/mencoder.c @@ -1572,10 +1572,10 @@ if(out_video_codec==VCODEC_FRAMENO && mux_v->timer>100){ } mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_VideoStreamResult, - (float)(mux_v->size/mux_v->timer*8.0f/1000.0f), (int)(mux_v->size/mux_v->timer), (int)mux_v->size, (float)mux_v->timer, decoded_frameno); + (float)(mux_v->size/mux_v->timer*8.0f/1000.0f), (int)(mux_v->size/mux_v->timer), (uint64_t)mux_v->size, (float)mux_v->timer, decoded_frameno); if(sh_audio) mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_AudioStreamResult, - (float)(mux_a->size/mux_a->timer*8.0f/1000.0f), (int)(mux_a->size/mux_a->timer), (int)mux_a->size, (float)mux_a->timer); + (float)(mux_a->size/mux_a->timer*8.0f/1000.0f), (int)(mux_a->size/mux_a->timer), (uint64_t)mux_a->size, (float)mux_a->timer); if(sh_audio){ uninit_audio(sh_audio);sh_audio=NULL; } if(sh_video){ uninit_video(sh_video);sh_video=NULL; } |