Commit 018de320 authored by Ilkka Ollakka's avatar Ilkka Ollakka

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

reported by Lotesdelere
parent 75a524c5
......@@ -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" );
......
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