[FFmpeg-cvslog] avfilter/af_surround: add more layouts for stereo upmix

Paul B Mahol git at videolan.org
Thu Nov 17 21:23:37 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Nov 17 18:38:26 2022 +0100| [2e53376a9b451c49aa443f80310a3463521e7ad5] | committer: Paul B Mahol

avfilter/af_surround: add more layouts for stereo upmix

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

 libavfilter/af_surround.c | 4 ++++
 1 file changed, 4 insertions(+)

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:



More information about the ffmpeg-cvslog mailing list