Commit 8585706f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix AAC encoding with ffaac

Should close #6483
parent 52c300c7
...@@ -382,6 +382,8 @@ int OpenEncoder( vlc_object_t *p_this ) ...@@ -382,6 +382,8 @@ int OpenEncoder( vlc_object_t *p_this )
p_sys->b_trellis = var_GetBool( p_enc, ENC_CFG_PREFIX "trellis" ); p_sys->b_trellis = var_GetBool( p_enc, ENC_CFG_PREFIX "trellis" );
p_context->strict_std_compliance = var_GetInteger( p_enc, ENC_CFG_PREFIX "strict" ); p_context->strict_std_compliance = var_GetInteger( p_enc, ENC_CFG_PREFIX "strict" );
if( i_codec_id == CODEC_ID_AAC )
p_context->strict_std_compliance = -2;
p_sys->f_lumi_masking = var_GetFloat( p_enc, ENC_CFG_PREFIX "lumi-masking" ); p_sys->f_lumi_masking = var_GetFloat( p_enc, ENC_CFG_PREFIX "lumi-masking" );
p_sys->f_dark_masking = var_GetFloat( p_enc, ENC_CFG_PREFIX "dark-masking" ); p_sys->f_dark_masking = var_GetFloat( p_enc, ENC_CFG_PREFIX "dark-masking" );
......
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