summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 8fb5e2e..1a5a54f 100644
--- a/ffmpeg.c
+++ b/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;
OpenPOWER on IntegriCloud