mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-20 16:25:04 +02:00
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
This commit is contained in:
parent
3d720bda76
commit
3c96abacf0
5
ffmpeg.c
5
ffmpeg.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user