diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-04 02:34:46 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-04 02:34:46 -0400 |
| commit | b786cca9da42b6caa1e2b1f2d4fa7ac0c0c0a984 (patch) | |
| tree | 33064ba41171076065ac023a4dff337a59bd8763 /MediaBrowser.Model/Dlna/CodecProfile.cs | |
| parent | d50ffcbfb22e1b22c80c033606601f22b1de66d2 (diff) | |
consolidate methods
Diffstat (limited to 'MediaBrowser.Model/Dlna/CodecProfile.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/CodecProfile.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/MediaBrowser.Model/Dlna/CodecProfile.cs b/MediaBrowser.Model/Dlna/CodecProfile.cs index e04e04d21..979cd343f 100644 --- a/MediaBrowser.Model/Dlna/CodecProfile.cs +++ b/MediaBrowser.Model/Dlna/CodecProfile.cs @@ -42,16 +42,9 @@ namespace MediaBrowser.Model.Dlna return SplitValue(Codec); } - public List<string> GetContainers() - { - return SplitValue(Container); - } - private bool ContainsContainer(string container) { - List<string> containers = GetContainers(); - - return containers.Count == 0 || ListHelper.ContainsIgnoreCase(containers, container ?? string.Empty); + return ContainerProfile.ContainsContainer(Container, container); } public bool ContainsCodec(string codec, string container) |
