mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
allow transcoding 8ch(7.1 layout) in aac
This commit is contained in:
parent
5bd0c2b69d
commit
d91a099c9e
@ -1545,6 +1545,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
// libmp3lame currently only supports two channel output
|
// libmp3lame currently only supports two channel output
|
||||||
transcoderChannelLimit = 2;
|
transcoderChannelLimit = 2;
|
||||||
}
|
}
|
||||||
|
else if (codec.IndexOf("aac", StringComparison.OrdinalIgnoreCase) != -1)
|
||||||
|
{
|
||||||
|
// aac is able to handle 8ch(7.1 layout)
|
||||||
|
transcoderChannelLimit = 8;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If we don't have any media info then limit it to 6 to prevent encoding errors due to asking for too many channels
|
// If we don't have any media info then limit it to 6 to prevent encoding errors due to asking for too many channels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user