File 0001-x264-removed-i_direct_8x8_inference-from-the-structu.patch of Package vlc-open

From 90ce0ababe874f37809973411641e8c2dd1f2308 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dominique@leuenberger.net>
Date: Thu, 22 Jan 2009 08:50:15 +0100
Subject: [PATCH] x264 removed i_direct_8x8_inference from the structure from version 66 on.
 According the x264 commit, the flag was 'useless', so apparently no alternative
 implementation would be needed.

---
 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

openSUSE Build Service is sponsored by