mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 13:44:22 -04:00
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
990bcc507f
commit
3b12dc6d7a
@ -227,11 +227,13 @@ public static class HlsCodecStringHelpers
|
|||||||
bitDepth = 8;
|
bitDepth = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
result.Append("." + level)
|
result.Append('.')
|
||||||
.Append(tierFlag ? "H" : "M");
|
.Append(level)
|
||||||
|
.Append(tierFlag ? 'H' : 'M');
|
||||||
|
|
||||||
string bitDepthD2 = bitDepth.ToString("D2", CultureInfo.InvariantCulture);
|
string bitDepthD2 = bitDepth.ToString("D2", CultureInfo.InvariantCulture);
|
||||||
result.Append("." + bitDepthD2);
|
result.Append('.')
|
||||||
|
.Append(bitDepthD2);
|
||||||
|
|
||||||
return result.ToString();
|
return result.ToString();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user