aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-03-09 07:18:13 -0700
committerGitHub <noreply@github.com>2022-03-09 07:18:13 -0700
commita397cec9813a9498e0f5c29289836d64629cd444 (patch)
tree31a953e5eb24ee5e3221262d1a0d53e1e0e84f7c
parentdacbfc83ff83f09582ce2c2c69a1632f7a9f69b2 (diff)
parent27b81a535c2de9833752d9579b3d9cf354210ad6 (diff)
Merge pull request #7410 from MinecraftPlaye/show-diff-dts-versions
-rw-r--r--CONTRIBUTORS.md1
-rw-r--r--MediaBrowser.Model/Entities/MediaStream.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 1f0e028c11..f23ecf942b 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -155,6 +155,7 @@
- [MBR-0001](https://github.com/MBR-0001)
- [jonas-resch](https://github.com/jonas-resch)
- [vgambier](https://github.com/vgambier)
+ - [MinecraftPlaye](https://github.com/MinecraftPlaye)
# Emby Contributors
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs
index 341e4846e9..e2616d92a7 100644
--- a/MediaBrowser.Model/Entities/MediaStream.cs
+++ b/MediaBrowser.Model/Entities/MediaStream.cs
@@ -161,7 +161,7 @@ namespace MediaBrowser.Model.Entities
attributes.Add(StringHelper.FirstToUpper(fullLanguage ?? Language));
}
- if (!string.IsNullOrEmpty(Codec) && !string.Equals(Codec, "dca", StringComparison.OrdinalIgnoreCase))
+ if (!string.IsNullOrEmpty(Codec) && !string.Equals(Codec, "dca", StringComparison.OrdinalIgnoreCase) && !string.Equals(Codec, "dts", StringComparison.OrdinalIgnoreCase))
{
attributes.Add(AudioCodec.GetFriendlyName(Codec));
}