]>
Commit | Line | Data |
---|---|---|
1a98444f AM |
1 | --- ffmpeg/libavcodec/libx264.c.org 2008-09-30 08:13:47.298284337 +0200 |
2 | +++ ffmpeg/libavcodec/libx264.c 2008-09-30 08:16:20.034103090 +0200 | |
3 | @@ -162,7 +162,11 @@ | |
da0b4d21 | 4 | |
5 | x4->params.i_bframe = avctx->max_b_frames; | |
6 | x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; | |
1a98444f AM |
7 | +#if X264_BUILD > 60 |
8 | x4->params.i_bframe_adaptive = avctx->b_frame_strategy; | |
9 | +#else | |
10 | + x4->params.b_bframe_adaptive = avctx->b_frame_strategy; | |
11 | +#endif | |
12 | x4->params.i_bframe_bias = avctx->bframebias; | |
13 | x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID; | |
14 | avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames; |