codec-utils: properly determine AAC Level
authorMatej Knopp <matej.knopp@gmail.com>
Mon, 1 Jun 2020 10:45:36 +0000 (12:45 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 7 Apr 2021 23:28:22 +0000 (23:28 +0000)
commite0623aa03aab8856c50eb8d0251b98282f290261
treeabd0e4df44891ef90456f848ae184f7141ac80bf
parenta5e2883ff0286142ee697077cb740578f361e6e3
codec-utils: properly determine AAC Level

Table 1.10 – "Levels for the AAC Profile" only goes to 5 max channels
/ 7 max channel post amendmend, so I assume the number of channels
should not include LFE, otherwise there's no valid level for 5.1 resp.
7.1 (post amendmend)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/680>
gst-libs/gst/pbutils/codec-utils.c