]> git.sesse.net Git - vlc/commitdiff
x264 removed i_direct_8x8_inference from the structure from version 66 on.
authorDominique Leuenberger <dominique@leuenberger.net>
Thu, 22 Jan 2009 09:20:32 +0000 (10:20 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 23 Jan 2009 22:17:06 +0000 (23:17 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/x264.c

index b4cc22c9a0cc59b4b4248d8e4974635c6813b279..1e5005dfefb28615ab00a20715984f6a7234182c 100644 (file)
@@ -1134,9 +1134,11 @@ 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 );