[transmageddon] Ok, multipass second run fixed, turned out problem was sitting in front of keyboard



commit 716f61d738818ddde1c3e3d5a704fe482c6b474b
Author: Christian Fredrik Kalager Schaller <uraeus linuxrisin org>
Date:   Tue Sep 11 21:45:39 2012 +0200

    Ok, multipass second run fixed, turned out problem was sitting in front of keyboard

 src/transcoder_engine.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index b5eb77d..abb314f 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -77,6 +77,7 @@ class Transcoder(GObject.GObject):
        self.timestamp = TIMESTAMP
        self.rotationvalue = int(ROTATIONVALUE)
        self.vbox = {}
+          
 
        # switching width and height around for rotationchoices where it makes sense
        if self.rotationvalue == 1 or self.rotationvalue == 3:
@@ -87,6 +88,8 @@ class Transcoder(GObject.GObject):
 
        # if needed create a variable to store the filename of the multipass \
        # statistics file
+       print "self.multipass is " + str(self.multipass)
+       print "self.passcounter is " + str(self.passcounter)
        if self.multipass != 0:
            self.cachefile = (str (GLib.get_user_cache_dir()) + "/" + \
                    "multipass-cache-file" + self.timestamp + ".log")
@@ -378,7 +381,7 @@ class Transcoder(GObject.GObject):
                        if self.passcounter == int(0):
                            sinkpad = self.encodebin.emit("request-pad", origin)
                if c.startswith("audio/"):
-                   if (self.multipass == 0) and (self.passcounter == int(0)):
+                   if self.passcounter == int(0):
                        src_pad.link(sinkpad)
                elif ((c.startswith("video/") or c.startswith("image/")) and (self.videocaps != False)):
                    if self.videopasstoggle==False:



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