浏览代码

Fix transcoding bitrate

Mathieu Velten 6 年之前
父节点
当前提交
ae73f7b3e3
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 0 - 5
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -1093,11 +1093,6 @@ namespace MediaBrowser.Controller.MediaEncoding
 
 
             if (videoStream != null)
             if (videoStream != null)
             {
             {
-                if (bitrate.HasValue && videoStream.BitRate.HasValue)
-                {
-                    bitrate = Math.Min(videoStream.BitRate.Value, bitrate.Value);
-                }
-
                 if (bitrate.HasValue)
                 if (bitrate.HasValue)
                 {
                 {
                     var inputVideoCodec = videoStream.Codec;
                     var inputVideoCodec = videoStream.Codec;