Do not show channels count of DTS tracks.

This commit is contained in:
Damiano Galassi committed 2021-12-10 16:14:41 +01:00
1 parent 653d077b1f
commit df3b478dba
1 file changed
+1 -1
+1 -1
View File
@@ -254,7 +254,7 @@ MP42_OBJC_DIRECT_MEMBERS
return [NSString stringWithFormat:@"%@, %u ch", localizedDisplayName(self.mediaType, self.conversionSettings.format), channels];
}
else {
if (_channels > 0) {
if (_channels > 0 && self.mediaType != kMP42AudioCodecType_DTS) {
if (_extensionType) {
return [NSString stringWithFormat:@"%@+%@, %u ch", localizedDisplayName(self.mediaType, self.format),
localizedDisplayName(self.mediaType, self.extensionType),