[Mplayer-cvslog] CVS: main mencoder.c,1.48,1.49
Arpi of Ize
arpi at mplayer.dev.hu
Mon Dec 24 03:11:52 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv8374
Modified Files:
mencoder.c
Log Message:
lavc quality fixed - using right fps
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- mencoder.c 24 Dec 2001 01:11:39 -0000 1.48
+++ mencoder.c 24 Dec 2001 02:11:49 -0000 1.49
@@ -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)
{
More information about the MPlayer-cvslog
mailing list