mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-20 18:18:03 +00:00
Fix multiple mistakes and warnings
This commit is contained in:
@@ -1252,9 +1252,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
{
|
||||
if (request.AudioBitRate.HasValue)
|
||||
{
|
||||
// Make sure we don't request a bitrate higher than the source
|
||||
var currentBitrate = audioStream == null ? request.AudioBitRate.Value : audioStream.BitRate ?? request.AudioBitRate.Value;
|
||||
|
||||
// Don't encode any higher than this
|
||||
return Math.Min(384000, request.AudioBitRate.Value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user