Fix build

This commit is contained in:
Bond_009 2020-07-22 14:56:58 +02:00
parent 4d681e3cad
commit b9004a0246

View File

@ -372,7 +372,7 @@ namespace MediaBrowser.Controller.MediaEncoding
public int GetVideoProfileScore(string profile)
{
// 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));
}