mirror of https://github.com/jellyfin/jellyfin.git
Fix System.NullReferenceException when playing Dvds copied to HDD
This commit is contained in:
parent
d8c3b26fa6
commit
ef3df7baaf
|
@ -1173,7 +1173,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
{
|
||||
bitrate = GetMinBitrate(videoStream.BitRate.Value, bitrate.Value);
|
||||
}
|
||||
}
|
||||
|
||||
if (bitrate.HasValue)
|
||||
{
|
||||
|
@ -1186,6 +1185,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
bitrate = Math.Min(bitrate.Value, request.VideoBitRate.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return bitrate;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue