aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/StreamingHelpers.cs
diff options
context:
space:
mode:
authorknackebrot <knackebrot@tfwno.gf>2022-07-12 15:54:17 +0200
committerShadowghost <Ghost_of_Stone@web.de>2023-02-26 22:37:01 +0100
commit3e74377036ff0aea33b09381fb5e15efb0a6ded8 (patch)
tree6a670fd430aafbfa47005d2a8a0c85829278b523 /Jellyfin.Api/Helpers/StreamingHelpers.cs
parentedc627fd5b5a5bd19c843dd9e2970b1ebce3fbfd (diff)
Calculate output bitrate from output channel count
Diffstat (limited to 'Jellyfin.Api/Helpers/StreamingHelpers.cs')
-rw-r--r--Jellyfin.Api/Helpers/StreamingHelpers.cs2
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;