[vlc-commits] commit: x264: change 8x8dct default to true and fix logic so you can turn it off ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Tue May 25 19:03:18 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue May 25 19:09:24 2010 +0300| [018de320fa70078984c2744b4f994467d8a7c4dd] | committer: Ilkka Ollakka 

x264: change 8x8dct default to true and fix logic so you can turn it off

reported by Lotesdelere

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=018de320fa70078984c2744b4f994467d8a7c4dd
---

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

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index f10f4c6..972597c 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -595,7 +595,7 @@ vlc_module_begin ()
 
     add_obsolete_bool( SOUT_CFG_PREFIX "bime" )
 
-    add_bool( SOUT_CFG_PREFIX "8x8dct", false, NULL, TRANSFORM_8X8DCT_TEXT,
+    add_bool( SOUT_CFG_PREFIX "8x8dct", true, NULL, TRANSFORM_8X8DCT_TEXT,
               TRANSFORM_8X8DCT_LONGTEXT, false )
 
     add_integer( SOUT_CFG_PREFIX "trellis", 1, NULL, TRELLIS_TEXT,
@@ -1077,7 +1077,7 @@ static int  Open ( vlc_object_t *p_this )
     }
     free( psz_val );
 
-    if( var_GetBool( p_enc, SOUT_CFG_PREFIX "8x8dct" ) )
+    if( !var_GetBool( p_enc, SOUT_CFG_PREFIX "8x8dct" ) )
        p_sys->param.analyse.b_transform_8x8 = var_GetBool( p_enc,
                                     SOUT_CFG_PREFIX "8x8dct" );
 



More information about the vlc-commits mailing list