2
0
Эх сурвалжийг харах

Let the UI show which DTS profile is in use

There are different profiles for DTS. For example, both DTS and DTS-HD
MA use the same codec, but provide a different profile.

Some files may provide both a DTS and DTS-HD MA audio track. With this
change, the UI shows which track is using which profile to allow the
user to choose between them.
Patrick Farwick 3 жил өмнө
parent
commit
27b81a535c

+ 1 - 0
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
 

+ 1 - 1
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));
                         }