mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Update MediaBrowser.Controller/MediaEncoding/JobLogger.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
2c3b1bb8cb
commit
c149fcb3ee
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue