diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-09-24 19:08:39 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-24 19:08:39 +0300 |
| commit | ac9dfa8e93106d907bbf78fe2350adfa47c76cec (patch) | |
| tree | 451a0af637b7114439b85ce7878ff82b43281cc8 /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | |
| parent | b086f6d330503a055e1b073cdb3847c825839da3 (diff) | |
| parent | c9820d30edf1cb8fa99a52ec72b6571d6d4506f7 (diff) | |
Merge pull request #1775 from Bond-009/fixes
Fix multiple mistakes and warnings
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 841205d0c..eb3d2ab81 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -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); } |
