diff options
| author | knackebrot <knackebrot@tfwno.gf> | 2022-07-12 15:54:17 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2023-02-26 22:37:01 +0100 |
| commit | 3e74377036ff0aea33b09381fb5e15efb0a6ded8 (patch) | |
| tree | 6a670fd430aafbfa47005d2a8a0c85829278b523 /Jellyfin.Api/Helpers/StreamingHelpers.cs | |
| parent | edc627fd5b5a5bd19c843dd9e2970b1ebce3fbfd (diff) | |
Calculate output bitrate from output channel count
Diffstat (limited to 'Jellyfin.Api/Helpers/StreamingHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/StreamingHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Helpers/StreamingHelpers.cs b/Jellyfin.Api/Helpers/StreamingHelpers.cs index 9b5a14c4d..6ce98d231 100644 --- a/Jellyfin.Api/Helpers/StreamingHelpers.cs +++ b/Jellyfin.Api/Helpers/StreamingHelpers.cs @@ -183,7 +183,7 @@ public static class StreamingHelpers state.OutputContainer = (containerInternal ?? string.Empty).TrimStart('.'); - state.OutputAudioBitrate = encodingHelper.GetAudioBitrateParam(streamingRequest.AudioBitRate, streamingRequest.AudioCodec, state.AudioStream); + state.OutputAudioBitrate = encodingHelper.GetAudioBitrateParam(streamingRequest.AudioBitRate, streamingRequest.AudioCodec, state.AudioStream, state.OutputAudioChannels); state.OutputAudioCodec = streamingRequest.AudioCodec; |
