mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix build
This commit is contained in:
parent
4d681e3cad
commit
b9004a0246
@ -372,7 +372,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
public int GetVideoProfileScore(string profile)
|
public int GetVideoProfileScore(string profile)
|
||||||
{
|
{
|
||||||
// strip spaces because they may be stripped out on the query string
|
// strip spaces because they may be stripped out on the query string
|
||||||
profile = profile.Replace(" ", string.Empty, CultureInfo.InvariantCulture);
|
profile = profile.Replace(" ", string.Empty, StringComparison.Ordinal);
|
||||||
return Array.FindIndex(_videoProfiles, x => string.Equals(x, profile, StringComparison.OrdinalIgnoreCase));
|
return Array.FindIndex(_videoProfiles, x => string.Equals(x, profile, StringComparison.OrdinalIgnoreCase));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user