avfilter/af_surround: add more layouts for stereo upmix

This commit is contained in:
Paul B Mahol 2022-11-17 18:38:26 +01:00
parent 63db6a02a7
commit 2e53376a9b

View File

@ -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: