[Ffmpeg-cvslog] r6268 - trunk/ffmpeg.c

takis subversion
Fri Sep 15 20:28:11 CEST 2006


Author: takis
Date: Fri Sep 15 20:28:11 2006
New Revision: 6268

Modified:
   trunk/ffmpeg.c

Log:
Fix usage of b_quant_factor. It was not possible to actually use the b_qfactor
option, as b_quant_factor always got fixed to 2.0 (in any case when it actually
mattered, namely when B-frames were being used).


Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Sep 15 20:28:11 2006
@@ -3015,10 +3015,7 @@
         if(inter_matrix)
             video_enc->inter_matrix = inter_matrix;
 
-        if (b_frames) {
-            video_enc->max_b_frames = b_frames;
-            video_enc->b_quant_factor = 2.0;
-        }
+        video_enc->max_b_frames = b_frames;
         video_enc->qmin = video_qmin;
         video_enc->qmax = video_qmax;
         video_enc->lmin = video_lmin;




More information about the ffmpeg-cvslog mailing list