[transmageddon] Finally fixed bug, turns out I was not properly checking if passthrough was even possible



commit b491f1eb94c4a059b66f022062459b0761681714
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date:   Tue Aug 13 11:29:37 2013 +0200

    Finally fixed bug, turns out I was not properly checking if passthrough was
    even possible

 src/transmageddon.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index c9399ee..15474da 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -1215,8 +1215,9 @@ class TransmageddonUI(Gtk.ApplicationWindow):
                else:
                    self.audiodata[x]['outputaudiocaps'] = self.audiocodecs[x][no]
                if self.streamdata['container'] != False:
-                   if self.audiorows[x].get_active() ==  self.audiopassmenuno[x]:
-                       self.audiodata[x]['dopassthrough']= True
+                   if self.audiodata[x]['canpassthrough'] == True:
+                       if self.audiorows[x].get_active() ==  self.audiopassmenuno[x]:
+                           self.audiodata[x]['dopassthrough']= True
                elif self.usingpreset==True:
                    self.audiodata[x]['outputaudiocaps'] = self.presetaudiocodec
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]