lavu: add 2.1 channel layout.

release/0.10
Clément Bœsch 13 years ago committed by Clément Bœsch
parent d93b6340d7
commit 5fc51c3155
  1. 1
      libavutil/audioconvert.c

@ -64,6 +64,7 @@ static const struct {
} channel_layout_map[] = { } channel_layout_map[] = {
{ "mono", 1, AV_CH_LAYOUT_MONO }, { "mono", 1, AV_CH_LAYOUT_MONO },
{ "stereo", 2, AV_CH_LAYOUT_STEREO }, { "stereo", 2, AV_CH_LAYOUT_STEREO },
{ "2.1", 3, AV_CH_LAYOUT_2POINT1 },
{ "4.0", 4, AV_CH_LAYOUT_4POINT0 }, { "4.0", 4, AV_CH_LAYOUT_4POINT0 },
{ "quad", 4, AV_CH_LAYOUT_QUAD }, { "quad", 4, AV_CH_LAYOUT_QUAD },
{ "5.0", 5, AV_CH_LAYOUT_5POINT0_BACK }, { "5.0", 5, AV_CH_LAYOUT_5POINT0_BACK },

Loading…
Cancel
Save