This commit is contained in:
nyanmisaka 2020-11-08 09:35:04 +00:00
parent 5048719a64
commit babb298b90

View File

@ -532,6 +532,7 @@ namespace Jellyfin.Api.Helpers
{ {
return parsedLevel; return parsedLevel;
} }
return null; return null;
} }
@ -693,8 +694,8 @@ namespace Jellyfin.Api.Helpers
private string ReplaceProfile(string url, string codec, string oldValue, string newValue) private string ReplaceProfile(string url, string codec, string oldValue, string newValue)
{ {
return url.Replace( return url.Replace(
codec + "-profile=" + oldValue.ToString(), codec + "-profile=" + oldValue,
codec + "-profile=" + newValue.ToString(), codec + "-profile=" + newValue,
StringComparison.OrdinalIgnoreCase); StringComparison.OrdinalIgnoreCase);
} }