nyanmisaka 4 年之前
父節點
當前提交
babb298b90
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Jellyfin.Api/Helpers/DynamicHlsHelper.cs

+ 3 - 2
Jellyfin.Api/Helpers/DynamicHlsHelper.cs

@@ -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=" + newValue.ToString(),
+                codec + "-profile=" + oldValue,
+                codec + "-profile=" + newValue,
                 StringComparison.OrdinalIgnoreCase);
                 StringComparison.OrdinalIgnoreCase);
         }
         }