mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
revised the framerate fix
This commit is contained in:
parent
33c8de1ecd
commit
d4797820db
1 changed files with 5 additions and 2 deletions
|
|
@ -266,9 +266,12 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
|
|||
|
||||
if (parts.Length == 2)
|
||||
{
|
||||
result = float.Parse(parts[0]) / float.Parse(parts[1]);
|
||||
result = float.Parse(parts[0])/float.Parse(parts[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
result = float.Parse(parts[0]);
|
||||
}
|
||||
result = float.Parse(parts[0]);
|
||||
|
||||
return float.IsNaN(result) ? (float?)null : result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue