Преглед на файлове

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 (bitrate.HasValue && videoStream.BitRate.HasValue)
-                {
-                    bitrate = Math.Min(videoStream.BitRate.Value, bitrate.Value);
-                }
-
                 if (bitrate.HasValue)
                 {
                     var inputVideoCodec = videoStream.Codec;