mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 03:34:28 +01:00
Fix build
This commit is contained in:
parent
4d681e3cad
commit
b9004a0246
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue