diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2006-09-15 18:28:11 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2006-09-15 18:28:11 +0000 |
commit | 3c96abacf099fad19023bd6c2cf2dec8ea1d5726 (patch) | |
tree | 7208fcf6401821955f835fbb0d5b5c78f6a32070 /ffmpeg.c | |
parent | 3d720bda760661c19ee1df3ea703189beda4992f (diff) | |
download | ffmpeg-3c96abacf099fad19023bd6c2cf2dec8ea1d5726.tar.gz |
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).
Originally committed as revision 6268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -3015,10 +3015,7 @@ static void new_video_stream(AVFormatContext *oc) 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; |