[vlc-commits] Fix AAC encoding with ffaac
Jean-Baptiste Kempf
git at videolan.org
Sun Apr 1 12:07:03 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 1 10:58:37 2012 +0200| [8585706f5060212845c00ab9bca43c4a3ea17ec0] | committer: Jean-Baptiste Kempf
Fix AAC encoding with ffaac
Should close #6483
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8585706f5060212845c00ab9bca43c4a3ea17ec0
---
modules/codec/avcodec/encoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 9bd8619..0724329 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -382,6 +382,8 @@ int OpenEncoder( vlc_object_t *p_this )
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" );
+ 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_dark_masking = var_GetFloat( p_enc, ENC_CFG_PREFIX "dark-masking" );
More information about the vlc-commits
mailing list