diff options
| author | cryptobank <janda.petr@gmail.com> | 2019-12-07 06:47:57 +1030 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-07 06:47:57 +1030 |
| commit | 5b5d527a09a94ef847c60578306c858fe6feff89 (patch) | |
| tree | 58bd484c0f33b5d3f8fa2eaefb142171f94defa5 | |
| parent | 68edb9734dfc2feec207f00319588d3cec3b67fb (diff) | |
Use string.Equals instead of of equals operator
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
| -rw-r--r-- | MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs index 3207a6882..e3bd3c8c9 100644 --- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs @@ -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 |
