fdkaacenc: Add missing SURROUND mappings
authorVivia Nikolaidou <vivia@ahiru.eu>
Thu, 18 Jun 2020 09:15:09 +0000 (12:15 +0300)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 22 Jun 2020 07:14:20 +0000 (07:14 +0000)
commit41950f2abaf533378f898b732dc6c30f63c9545c
tree604021b48809fc25cd0613b0d0f3dbe10bfd7fec
parentc21aefbfb05ac48a839dd93be960be2acbd9bb37
fdkaacenc: Add missing SURROUND mappings

SURROUND is more to spec according to the FIXME comments, so add this.

Also add SIDE for 5 and 5.1 because of ffmpeg compatibility, because the
following pipeline downmixes to mono otherwise:

gst-launch-1.0 audiotestsrc num-buffers=1 ! audio/x-raw, channels=6 !
avenc_ac3 ! avdec_ac3 ! audioconvert ! fdkaacenc ! fakesink -v

Fixes #1327

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1352>
ext/fdkaac/gstfdkaacenc.c