Update MediaBrowser.Controller/MediaEncoding/JobLogger.cs

Co-Authored-By: Bond-009 <bond.009@outlook.com>
pull/2368/head
Nyanmisaka 5 years ago committed by GitHub
parent 2c3b1bb8cb
commit c149fcb3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ namespace MediaBrowser.Controller.MediaEncoding
}
else if (part.StartsWith("fps=", StringComparison.OrdinalIgnoreCase))
{
var rate = part.Split(new[] { '=' }, 2).Last();
var rate = part.Split(new[] { '=' }, 2)[^1];
if (float.TryParse(rate, NumberStyles.Any, _usCulture, out var val))
{

Loading…
Cancel
Save