Lines 162-168
Link Here
|
162 |
|
162 |
|
163 |
x4->params.i_bframe = avctx->max_b_frames; |
163 |
x4->params.i_bframe = avctx->max_b_frames; |
164 |
x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; |
164 |
x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; |
|
|
165 |
#if X264_BUILD > 62 |
165 |
x4->params.i_bframe_adaptive = avctx->b_frame_strategy; |
166 |
x4->params.i_bframe_adaptive = avctx->b_frame_strategy; |
|
|
167 |
#else |
168 |
x4->params.b_bframe_adaptive = avctx->b_frame_strategy; |
169 |
#endif |
166 |
x4->params.i_bframe_bias = avctx->bframebias; |
170 |
x4->params.i_bframe_bias = avctx->bframebias; |
167 |
x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID; |
171 |
x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID; |
168 |
avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames; |
172 |
avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames; |