Fix transcoding bitrate

This commit is contained in:
Mathieu Velten 2018-12-16 17:35:06 +01:00
parent 060eb98cc5
commit ae73f7b3e3

View file

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