aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs')
-rw-r--r--Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs b/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs
index ad1fce0f1..adb248670 100644
--- a/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs
+++ b/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs
@@ -227,11 +227,13 @@ public static class HlsCodecStringHelpers
bitDepth = 8;
}
- result.Append("." + level)
- .Append(tierFlag ? "H" : "M");
+ result.Append('.')
+ .Append(level)
+ .Append(tierFlag ? 'H' : 'M');
string bitDepthD2 = bitDepth.ToString("D2", CultureInfo.InvariantCulture);
- result.Append("." + bitDepthD2);
+ result.Append('.')
+ .Append(bitDepthD2);
return result.ToString();
}