aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2019-01-04 17:40:44 -0500
committerGitHub <noreply@github.com>2019-01-04 17:40:44 -0500
commite4a041b8321e49fd9b21fb0f890caf23d4752212 (patch)
tree7e4be1c765afd026350f9c450264747b6adf4eca /MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
parent72ee4b189d35606ae60b1717ba5b318680025627 (diff)
parent340a2c651276d911285a6ff09944c5eba2384a51 (diff)
Merge pull request #283 from Bond-009/gpl-cleanup
Post GPL cleanup
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs')
-rw-r--r--MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
index c8c2367e6..3f6da59d8 100644
--- a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
+++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs
@@ -207,7 +207,7 @@ namespace MediaBrowser.Controller.MediaEncoding
}
}
- return new string[] { };
+ return Array.Empty<string>();
}
public string GetRequestedLevel(string codec)
@@ -317,10 +317,10 @@ namespace MediaBrowser.Controller.MediaEncoding
_logger = logger;
TranscodingType = jobType;
RemoteHttpHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
- PlayableStreamFileNames = new string[] { };
- SupportedAudioCodecs = new string[] { };
- SupportedVideoCodecs = new string[] { };
- SupportedSubtitleCodecs = new string[] { };
+ PlayableStreamFileNames = Array.Empty<string>();
+ SupportedAudioCodecs = Array.Empty<string>();
+ SupportedVideoCodecs = Array.Empty<string>();
+ SupportedSubtitleCodecs = Array.Empty<string>();
}
public bool IsSegmentedLiveStream