[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 22:55:53 CEST 2010
vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue May 25 19:09:24 2010 +0300| [9c907b9bebc8f8c452e4b5280e6ccdbc32b28fd5] | committer: Jean-Baptiste Kempf
x264: change 8x8dct default to true and fix logic so you can turn it off
reported by Lotesdelere
(cherry picked from commit 018de320fa70078984c2744b4f994467d8a7c4dd)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=9c907b9bebc8f8c452e4b5280e6ccdbc32b28fd5
---
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 187c57a..35be318 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -608,7 +608,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,
@@ -1109,7 +1109,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