DTS is always passthru
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 26 Oct 2009 16:11:19 +0000 (16:11 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 26 Oct 2009 16:11:19 +0000 (16:11 +0000)
ac3lipsync/src/AC3delay.py

index 6543fff..b25338a 100644 (file)
@@ -178,7 +178,7 @@ class AC3delay:
 
                 tlist.append((description, x))
                 if x == self.selectedAudioIndex:
-                    if (description.find("AC3") != -1 or description.find("DTS") != -1) and bDownmixEnabled == False:
+                    if (description.find("AC3") != -1 and not bDownmixEnabled) or description.find("DTS") != -1:
                         self.whichAudio = AC3
                         self.channelAudio = AC3
                     else: