[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.9,1.10
Arpi of Ize
arpi at mplayerhq.hu
Thu Apr 18 17:23:37 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv13896
Modified Files:
ve_lavc.c
Log Message:
bitrate>16000 means bits not kbits - noticed by George Hawkins <george_hawkins at yahoo.com>
Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ve_lavc.c 17 Apr 2002 13:30:05 -0000 1.9
+++ ve_lavc.c 18 Apr 2002 15:23:34 -0000 1.10
@@ -98,7 +98,9 @@
lavc_venc_context.width = width;
lavc_venc_context.height = height;
- if (lavc_param_vbitrate >= 0) /* != -1 */
+ if (lavc_param_vbitrate > 16000) /* != -1 */
+ lavc_venc_context.bit_rate = lavc_param_vbitrate;
+ else if (lavc_param_vbitrate >= 0) /* != -1 */
lavc_venc_context.bit_rate = lavc_param_vbitrate*1000;
else
lavc_venc_context.bit_rate = 800000; /* default */
More information about the MPlayer-cvslog
mailing list