aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
diff options
context:
space:
mode:
authorMathieu Velten <matmaul@gmail.com>2018-12-16 17:35:06 +0100
committerMathieu Velten <matmaul@gmail.com>2019-01-20 22:50:17 +0100
commitae73f7b3e370f94d6e667a153be363ab89a24f78 (patch)
treeaf6852015a659df03ac63e316b733be9b7ea348a /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
parent060eb98cc532bedae80c92bf50ed6c369023cfad (diff)
Fix transcoding bitrate
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
-rw-r--r--MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
index e6899857f..e086f9d33 100644
--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
@@ -1093,11 +1093,6 @@ namespace MediaBrowser.Controller.MediaEncoding
if (videoStream != null)
{
- if (bitrate.HasValue && videoStream.BitRate.HasValue)
- {
- bitrate = Math.Min(videoStream.BitRate.Value, bitrate.Value);
- }
-
if (bitrate.HasValue)
{
var inputVideoCodec = videoStream.Codec;