mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 18:26:33 +00:00
Use string.Equals instead of of equals operator
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
This commit is contained in:
@@ -948,7 +948,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||
args += " " + EncodingHelper.GetVideoQualityParam(state, codec, encodingOptions, GetDefaultEncoderPreset());
|
||||
|
||||
// Unable to force key frames to h264_qsv transcode
|
||||
if (codec == "h264_qsv") {
|
||||
if (string.Equals(codec, "h264_qsv", StringComparison.OrdinalIgnoreCase)) {
|
||||
Logger.LogInformation("Bug Workaround: Disabling force_key_frames for h264_qsv");
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user