diff options
| author | Mathieu Velten <matmaul@gmail.com> | 2018-12-16 17:35:06 +0100 |
|---|---|---|
| committer | Mathieu Velten <matmaul@gmail.com> | 2019-01-20 22:50:17 +0100 |
| commit | ae73f7b3e370f94d6e667a153be363ab89a24f78 (patch) | |
| tree | af6852015a659df03ac63e316b733be9b7ea348a | |
| parent | 060eb98cc532bedae80c92bf50ed6c369023cfad (diff) | |
Fix transcoding bitrate
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 5 |
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; |
