[FFmpeg-devel] [PATCH 1/2] lavu: add 2.1 channel layout.
Clément Bœsch
ubitux at gmail.com
Wed Jan 11 13:17:56 CET 2012
From: Clément Bœsch <clement.boesch at smartjog.com>
---
libavutil/audioconvert.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavutil/audioconvert.c b/libavutil/audioconvert.c
index c4cab22..dd4c330 100644
--- a/libavutil/audioconvert.c
+++ b/libavutil/audioconvert.c
@@ -64,6 +64,7 @@ static const struct {
} channel_layout_map[] = {
{ "mono", 1, AV_CH_LAYOUT_MONO },
{ "stereo", 2, AV_CH_LAYOUT_STEREO },
+ { "2.1", 3, AV_CH_LAYOUT_2POINT1 },
{ "4.0", 4, AV_CH_LAYOUT_4POINT0 },
{ "quad", 4, AV_CH_LAYOUT_QUAD },
{ "5.0", 5, AV_CH_LAYOUT_5POINT0_BACK },
--
1.7.7.3
More information about the ffmpeg-devel
mailing list