[FFmpeg-devel] [PATCH 2/2] avcodec/libfdk-aacenc: change MODE_7_1_FRONT_CENTER to map to AV_CH_LAYOUT_7POINT1_WIDE_BACK
Jean First
jeanfirst at gmail.com
Mon Jan 27 22:07:41 CET 2014
On Sun Jan 26 2014 14:49:33 GMT+0100 (CET), Michael Niedermayer wrote:
> This was suggested by Rodeo on IRC
> <Rodeo> for consistency with the rest, MODE_7_1_FRONT_CENTER would be AV_CH_LAYOUT_7POINT1_WIDE_BACK (since LS+RS is mapped to back channels in other modes)
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavcodec/libfdk-aacenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c
> index 4a1cc10..2d91e58 100644
> --- a/libavcodec/libfdk-aacenc.c
> +++ b/libavcodec/libfdk-aacenc.c
> @@ -394,7 +394,7 @@ static const uint64_t aac_channel_layout[] = {
> AV_CH_LAYOUT_4POINT0,
> AV_CH_LAYOUT_5POINT0_BACK,
> AV_CH_LAYOUT_5POINT1_BACK,
> - AV_CH_LAYOUT_7POINT1_WIDE,
> + AV_CH_LAYOUT_7POINT1_WIDE_BACK,
> AV_CH_LAYOUT_7POINT1,
> 0,
> };
This also looks correct, but if I understand the comment mentioned in
e10fccf6 correctly MODE_1_2_2_2_1 ( channel config 7 ) should be used as
default mode.
More information about the ffmpeg-devel
mailing list