revised the framerate fix
This commit is contained in:
parent
33c8de1ecd
commit
d4797820db
|
@ -268,7 +268,10 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
|
|||
{
|
||||
result = float.Parse(parts[0])/float.Parse(parts[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
result = float.Parse(parts[0]);
|
||||
}
|
||||
|
||||
return float.IsNaN(result) ? (float?)null : result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user