aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-12-19 21:34:27 +0100
committerPaul B Mahol <onemda@gmail.com>2015-12-20 16:05:37 +0100
commit577f05735511066eca48b9a5fff6bf9b75cd65e6 (patch)
tree232d1cca6e54fe845f71f083b047576a7da30a32
parentf6830cf5ba03fdcfcd81a0358eb32d4081a2fcce (diff)
downloadffmpeg-577f05735511066eca48b9a5fff6bf9b75cd65e6.tar.gz
avcodec/s302menc: set supported channel layouts by codec
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/s302menc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/s302menc.c b/libavcodec/s302menc.c
index fbaa845aaa..3706eba4e0 100644
--- a/libavcodec/s302menc.c
+++ b/libavcodec/s302menc.c
@@ -175,4 +175,9 @@ AVCodec ff_s302m_encoder = {
AV_SAMPLE_FMT_NONE },
.capabilities = AV_CODEC_CAP_VARIABLE_FRAME_SIZE | AV_CODEC_CAP_EXPERIMENTAL,
.supported_samplerates = (const int[]) { 48000, 0 },
+ .channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_STEREO,
+ AV_CH_LAYOUT_QUAD,
+ AV_CH_LAYOUT_5POINT1_BACK,
+ AV_CH_LAYOUT_5POINT1_BACK | AV_CH_LAYOUT_STEREO_DOWNMIX,
+ 0 },
};