summaryrefslogtreecommitdiff
path: root/libavfilter/af_surround.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-11-17 18:38:26 +0100
committerPaul B Mahol <onemda@gmail.com>2022-11-17 20:27:31 +0100
commit2e53376a9b451c49aa443f80310a3463521e7ad5 (patch)
tree13775dc9b7152ae60c604d2e1f2076a284d023bb /libavfilter/af_surround.c
parent63db6a02a78e6f1a3657d6287ea870ce10d54d9e (diff)
avfilter/af_surround: add more layouts for stereo upmix
Diffstat (limited to 'libavfilter/af_surround.c')
-rw-r--r--libavfilter/af_surround.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index 6632385a54..d38a2a236e 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -1143,8 +1143,12 @@ static av_cold int init(AVFilterContext *ctx)
switch (out_channel_layout) {
case AV_CH_LAYOUT_MONO:
case AV_CH_LAYOUT_STEREO:
+ case AV_CH_LAYOUT_2POINT1:
+ case AV_CH_LAYOUT_2_1:
+ case AV_CH_LAYOUT_2_2:
case AV_CH_LAYOUT_SURROUND:
case AV_CH_LAYOUT_3POINT1:
+ case AV_CH_LAYOUT_QUAD:
case AV_CH_LAYOUT_4POINT0:
case AV_CH_LAYOUT_4POINT1:
case AV_CH_LAYOUT_5POINT0: