[FFmpeg-cvslog] lavu: add 2.1 channel layout.

Clément Bœsch git at videolan.org
Mon Jan 16 17:39:04 CET 2012


ffmpeg | branch: master | Clément Bœsch <clement.boesch at smartjog.com> | Wed Jan 11 10:09:37 2012 +0100| [5fc51c31557b5993f24d308a94f306b66a3962e1] | committer: Clément Bœsch

lavu: add 2.1 channel layout.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5fc51c31557b5993f24d308a94f306b66a3962e1
---

 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 },



More information about the ffmpeg-cvslog mailing list