The Free Software Media System - Server Backend & API
Use string.Equals instead of of equals operator
cryptobank5b5d527a09a9
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.csindex 3207a68825..e3bd3c8c9c 100644--- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs@@ -948,7 +948,7 @@ namespace MediaBrowser.Api.Playback.Hlsargs += " " + 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