Commit 9c907b9b authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by 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 018de320)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 050d1bee
......@@ -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" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment