Commit fc9dcfe7 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

aacenc: mark the preset 5.0/5.1 layouts correctly with back speakers

The spec is correct, it does list these layouts as having rear speakers.
Questionable how many decoders correctly interpret those correctly since
side is way more popular.
Also fixes fate-aac-yoraw-encode.
Reported-by: 's avatarpkviet <pkv.stream@gmail.com>
Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent 7b7775a6
...@@ -49,8 +49,8 @@ static const int64_t aac_normal_chan_layouts[7] = { ...@@ -49,8 +49,8 @@ static const int64_t aac_normal_chan_layouts[7] = {
AV_CH_LAYOUT_STEREO, AV_CH_LAYOUT_STEREO,
AV_CH_LAYOUT_SURROUND, AV_CH_LAYOUT_SURROUND,
AV_CH_LAYOUT_4POINT0, AV_CH_LAYOUT_4POINT0,
AV_CH_LAYOUT_5POINT0, AV_CH_LAYOUT_5POINT0_BACK,
AV_CH_LAYOUT_5POINT1, AV_CH_LAYOUT_5POINT1_BACK,
AV_CH_LAYOUT_7POINT1, AV_CH_LAYOUT_7POINT1,
}; };
......
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