[vlc-devel] [vlc-commits] Fix AAC encoding with ffaac
Rafaël Carré
funman at videolan.org
Sun Apr 1 16:58:58 CEST 2012
Le 2012-04-01 06:07, Jean-Baptiste Kempf a écrit :
> 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;
Since this codec is experimental, I think we should rather display a
message and let the user set this flag himself.
More information about the vlc-devel
mailing list