Przeglądaj źródła

Fix transcoding bitrate

Mathieu Velten 6 lat temu
rodzic
commit
ae73f7b3e3

+ 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;