[transmageddon] Fix twice-in-a-row remux bug also in GTK3 version



commit d1106bd2510d410f1e0c4074c2ef1369a99509de
Author: uraeus <uraeus gnome org>
Date:   Tue Apr 3 11:26:21 2012 +0100

    Fix twice-in-a-row remux bug also in GTK3 version

 src/transmageddon.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/transmageddon.py b/src/transmageddon.py
index 469083a..22f6b7c 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -857,7 +857,6 @@ class TransmageddonUI:
        self.ProgressBar.set_text(_("Transcoding Progress"))
        context_id = self.StatusBar.get_context_id("EOS")
        self.StatusBar.pop(context_id)
-       self.audiopasstoggle=False
 
    def populate_menu_choices(self):
        # self.audiocodecs - contains list of whats in self.audiorows
@@ -973,7 +972,6 @@ class TransmageddonUI:
                self.CodecBox.set_sensitive(True)
                self.transcodebutton.set_sensitive(True)
        else:
-           print "we are using presets"
            self.usingpreset=True
            self.ProgressBar.set_fraction(0.0)
            if presetchoice != None:
@@ -992,7 +990,7 @@ class TransmageddonUI:
        self.rotationvalue = self.rotationchoice.get_active()
 
    def on_audiocodec_changed(self, widget):
-       # print "audiocodec changed"
+       self.audiopasstoggle=False
        if (self.houseclean == False and self.usingpreset==False):
            self.AudioCodec = self.audiocodecs[self.audiorows[0].get_active()]
            if self.container != False:
@@ -1002,7 +1000,7 @@ class TransmageddonUI:
            self.AudioCodec = self.presetaudiocodec    
 
    def on_videocodec_changed(self, widget):
-       # print "videocodec changed"
+       self.videopasstoggle=False
        if (self.houseclean == False and self.usingpreset==False):
            if self.container != False:
                self.VideoCodec = self.videocodecs[self.videorows[0].get_active()]



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