[transmageddon] Make audio unselecteable if 1 audio stream and using preset



commit e24eef089d4f3694274565a11689693d674f6f68
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date:   Tue Mar 25 17:17:09 2014 +0100

    Make audio unselecteable if 1 audio stream and using preset

 src/transmageddon.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index aceff38..90cf231 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -1086,7 +1086,8 @@ class TransmageddonUI(Gtk.ApplicationWindow):
                    if x != 0:
                        self.audiorows[x].set_active(self.noaudiomenuno[x])
                        self.audiodata[x]['outputaudiocaps'] = 'noaud'
-                   # self.only_one_audio_stream_allowed(0)
+                   else:
+                       self.audiorows[0].set_sensitive(False)
                    self.videorows[0].set_sensitive(False)
                else:
                    self.audiorows[x].set_sensitive(True)
@@ -1150,7 +1151,6 @@ class TransmageddonUI(Gtk.ApplicationWindow):
                    if self.audiorows[streamno].get_active() == self.noaudiomenuno[y]:
                        self.audiorows[0].set_active(0)
                y=y+1
-           self.houseclean=False
 
    def on_containerchoice_changed(self, widget):
        self.CodecBox.set_sensitive(True)


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