Previously the 5.1(side) channel layouts will get rejected by libopus encoder because vorbis layout expects 5.1(back) channel layout. However, the side channels and back channels have same position in the layout mapping.
Relax the layout checking to allow such side to back mappings.
Changes
Previously the 5.1(side) channel layouts will get rejected by libopus encoder because vorbis layout expects 5.1(back) channel layout. However, the side channels and back channels have same position in the layout mapping. Relax the layout checking to allow such side to back mappings.
Issues
Fixes #248
Prepare for jellyfin/jellyfin-web#5434