pull/4432/head
nyanmisaka 4 years ago
parent 5048719a64
commit babb298b90

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

Loading…
Cancel
Save