[vlc-devel] commit: x264 removed i_direct_8x8_inference from the structure from version 66 on. (Dominique Leuenberger )
    git version control 
    git at videolan.org
       
    Fri Jan 23 23:17:45 CET 2009
    
    
  
vlc | branch: master | Dominique Leuenberger <dominique at leuenberger.net> | Thu Jan 22 10:20:32 2009 +0100| [ee759771f2029fddd683278b85fcb495ca4c661c] | committer: Jean-Baptiste Kempf 
x264 removed i_direct_8x8_inference from the structure from version 66 on.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee759771f2029fddd683278b85fcb495ca4c661c
---
 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;
    
    
More information about the vlc-devel
mailing list