[Mplayer-cvslog] CVS: main mencoder.c,1.238,1.239

Diego Biurrun CVS syncmail at mplayerhq.hu
Fri Apr 2 05:44:32 CEST 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv1464

Modified Files:
	mencoder.c 
Log Message:
Remove spurious +1 to lame_param_quality that contradicts documentation and
expectations.
patch by Charles Wilcox <willo at wpi.edu>


Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -r1.238 -r1.239
--- mencoder.c	24 Mar 2004 15:16:36 -0000	1.238
+++ mencoder.c	2 Apr 2004 03:44:30 -0000	1.239
@@ -1007,7 +1007,7 @@
 lame_set_quality(lame,lame_param_algqual); // 0 = best q
 if(lame_param_vbr){  // VBR:
     lame_set_VBR(lame,lame_param_vbr); // vbr mode
-    lame_set_VBR_q(lame,lame_param_quality+1); // 1 = best vbr q  6=~128k
+    lame_set_VBR_q(lame,lame_param_quality); // 0 = best vbr q  5=~128k
     if(lame_param_br>0) lame_set_VBR_mean_bitrate_kbps(lame,lame_param_br);
 } else {    // CBR:
     if(lame_param_br>0) lame_set_brate(lame,lame_param_br);




More information about the MPlayer-cvslog mailing list