Commit 60c528ef authored by takis's avatar takis

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).


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6268 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0a0659e2
...@@ -3015,10 +3015,7 @@ static void new_video_stream(AVFormatContext *oc) ...@@ -3015,10 +3015,7 @@ static void new_video_stream(AVFormatContext *oc)
if(inter_matrix) if(inter_matrix)
video_enc->inter_matrix = inter_matrix; video_enc->inter_matrix = inter_matrix;
if (b_frames) { video_enc->max_b_frames = b_frames;
video_enc->max_b_frames = b_frames;
video_enc->b_quant_factor = 2.0;
}
video_enc->qmin = video_qmin; video_enc->qmin = video_qmin;
video_enc->qmax = video_qmax; video_enc->qmax = video_qmax;
video_enc->lmin = video_lmin; video_enc->lmin = video_lmin;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment