summaryrefslogtreecommitdiff
path: root/mplayer/mplayer-x264.patch
blob: 793b2fae5a06d73ec598853eba8cc2194066568c (plain)
    1 diff -urN mplayer-1.0_rc2_p28058/libavcodec/libx264.c mplayer-1.0_rc2_p28058-new/libavcodec/libx264.c
    2 --- mplayer-1.0_rc2_p28058/libavcodec/libx264.c	2008-12-02 13:56:20.000000000 +1100
    3 +++ mplayer-1.0_rc2_p28058-new/libavcodec/libx264.c	2008-12-03 00:54:35.824823293 +1100
    4 @@ -164,7 +164,7 @@
    5  
    6      x4->params.i_bframe = avctx->max_b_frames;
    7      x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;
    8 -    x4->params.i_bframe_adaptive = avctx->b_frame_strategy;
    9 +    x4->params.b_bframe_adaptive = avctx->b_frame_strategy;
   10      x4->params.i_bframe_bias = avctx->bframebias;
   11      x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
   12      avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames;

Generated by cgit