An error during compilation (--disable-mplayer --codecsdir=/blabla/essential-20071007 --prefix=/home/hraban --disable-tv), looking at the /usr/include/x264.h file suggests the following fix: hraban@localhost ~/mplayer/libavcodec $ svn diff Index: libx264.c =================================================================== --- libx264.c (revision 15948) +++ libx264.c (working copy) @@ -164,7 +164,7 @@ x4->params.i_bframe = avctx->max_b_frames; x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; - x4->params.i_bframe_adaptive = avctx->b_frame_strategy; + x4->params.b_bframe_adaptive = avctx->b_frame_strategy; x4->params.i_bframe_bias = avctx->bframebias; x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID; avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames; Are my system headers out of date or is this a typo? Mplayer compiles fine after applying this patch. Greetings, Hraban Luyat
On Sat, Nov 29, 2008 at 06:46:34AM +0100, Hraban wrote:
Are my system headers out of date or is this a typo?
Yes, your libx264 is a too old and thus unsupported version. Greetings, Reimar Döffinger
participants (2)
-
Hraban -
Reimar Döffinger