Mercurial > mplayer.hg
changeset 3693:470d75f1e087
lavc quality fixed - using right fps
author | arpi |
---|---|
date | Mon, 24 Dec 2001 02:11:49 +0000 |
parents | ccce20ca68e7 |
children | 7ab4c9c542e7 |
files | mencoder.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Mon Dec 24 01:54:29 2001 +0000 +++ b/mencoder.c Mon Dec 24 02:11:49 2001 +0000 @@ -842,13 +842,13 @@ lavc_venc_context.bit_rate = lavc_param_vbitrate; else lavc_venc_context.bit_rate = 800000; /* default */ - lavc_venc_context.frame_rate = mux_v->h.dwRate * FRAME_RATE_BASE; + lavc_venc_context.frame_rate = sh_video->fps * FRAME_RATE_BASE; /* keyframe interval */ if (lavc_param_keyint >= 0) /* != -1 */ lavc_venc_context.gop_size = lavc_param_keyint; else lavc_venc_context.gop_size = 250; /* default */ - + /* ignored by libavcodec? */ if (lavc_param_vhq) {