Commit 65219c38 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

dca: map xxch side channels to AV_CH_SIDE_LEFT/RIGHT instead of REAR.

This fixes decoding of certain 7.1 DTS-HD HRA files, as well as matches the spec better.
Table 6-22 in the DTS spec labels the two channels "Left/Right surround on side", and not rear.
Reviewed-by: 's avatarBenjamin Larsson <benjamin@southpole.se>
Reviewed-by: 's avatarNick Brereton <nick@nbrereton.net>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9ca27df5
...@@ -136,8 +136,8 @@ static const uint32_t map_xxch_to_native[28] = { ...@@ -136,8 +136,8 @@ static const uint32_t map_xxch_to_native[28] = {
AV_CH_BACK_CENTER, AV_CH_BACK_CENTER,
AV_CH_BACK_LEFT, AV_CH_BACK_LEFT,
AV_CH_BACK_RIGHT, AV_CH_BACK_RIGHT,
AV_CH_BACK_LEFT, /* side surround left -- dup sur rear L */ AV_CH_SIDE_LEFT, /* side surround left -- dup sur side L */
AV_CH_BACK_RIGHT, /* side surround right -- dup sur rear R */ AV_CH_SIDE_RIGHT, /* side surround right -- dup sur side R */
AV_CH_FRONT_LEFT_OF_CENTER, AV_CH_FRONT_LEFT_OF_CENTER,
AV_CH_FRONT_RIGHT_OF_CENTER, AV_CH_FRONT_RIGHT_OF_CENTER,
AV_CH_TOP_FRONT_LEFT, AV_CH_TOP_FRONT_LEFT,
......
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