Apply suggestions from code review

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/9907/head
Nyanmisaka 12 months ago committed by GitHub
parent 990bcc507f
commit 3b12dc6d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();
}

Loading…
Cancel
Save