diff options
| author | xumix <xumix@ay.ru> | 2020-05-26 00:58:19 +0300 |
|---|---|---|
| committer | xumix <xumix@ya.ru> | 2020-05-26 00:58:19 +0300 |
| commit | 46420dfd68945fd7c7045b8492c401e3d8cd302d (patch) | |
| tree | 56ab967d77f860eef3905bfcd2a203142881d178 /MediaBrowser.Api/Playback/StreamState.cs | |
| parent | 777c9c7bc974fafb09e6a5a6b23bd29cf8529af9 (diff) | |
Refactor copy codec checks
Diffstat (limited to 'MediaBrowser.Api/Playback/StreamState.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/StreamState.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/StreamState.cs b/MediaBrowser.Api/Playback/StreamState.cs index d5d2f58c0..c244b0033 100644 --- a/MediaBrowser.Api/Playback/StreamState.cs +++ b/MediaBrowser.Api/Playback/StreamState.cs @@ -42,7 +42,7 @@ namespace MediaBrowser.Api.Playback return Request.SegmentLength.Value; } - if (string.Equals(OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase)) + if (EncodingHelper.IsCopyCodec(OutputVideoCodec)) { var userAgent = UserAgent ?? string.Empty; |
