[vlc-devel] [PATCH] x264 removed i_direct_8x8_inference from the structure from version 66 on.

Dominique Leuenberger dominique at leuenberger.net
Thu Jan 22 10:20:32 CET 2009


---
 modules/codec/x264.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index b4cc22c..1e5005d 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -1134,10 +1134,12 @@ static int  Open ( vlc_object_t *p_this )
     if( val.i_int >= 0 && val.i_int <= 32 )
         p_sys->param.analyse.i_luma_deadzone[1] = val.i_int;
 
+#if X264_BUILD <= 65
     var_Get( p_enc, SOUT_CFG_PREFIX "direct-8x8", &val );
     if( val.i_int >= -1 && val.i_int <= 1 )
         p_sys->param.analyse.i_direct_8x8_inference = val.i_int;
 #endif
+#endif
 
     var_Get( p_enc, SOUT_CFG_PREFIX "asm", &val );
     if( !val.b_bool ) p_sys->param.cpu = 0;
-- 
1.5.4.5




More information about the vlc-devel mailing list