[transmageddon] Update files, fix issue with video remuxing and remove print statements



commit aafaf1e82703cf4ff93aebcce535c0f2589432a2
Author: Christian Fredrik Kalager Schaller <uraeus linuxrising org>
Date:   Sun Dec 1 14:20:26 2013 +0100

    Update files, fix issue with video remuxing and remove print statements

 src/transcoder_engine.py |    5 -----
 src/transmageddon.py     |    4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/transcoder_engine.py b/src/transcoder_engine.py
index 9dcf8ef..152ab51 100644
--- a/src/transcoder_engine.py
+++ b/src/transcoder_engine.py
@@ -131,8 +131,6 @@ class Transcoder(GObject.GObject):
                if (self.videodata[0]['outputvideocaps'] != False):
                    videopreset=None
                    self.videoprofile = 
GstPbutils.EncodingVideoProfile.new(self.videodata[0]['outputvideocaps'], videopreset, Gst.Caps.new_any(), 0)
-                   print(self.videoprofile)
-                   print(self.videodata[0]['outputvideocaps'].to_string())
                    self.encodebinprofile.add_profile(self.videoprofile)
 
        # We do not need to do anything special for passthrough for audio, since we are not
@@ -390,9 +388,6 @@ class Transcoder(GObject.GObject):
                            src_pad.link(deinterlacerpad)
                            self.videoflipper.get_static_pad("src").link(self.sinkpad)   
                    else:
-                       print("origin is " + str(origin.to_string()))
-                       print("src_pad is " + str(src_pad))
-                       print("sinkpad is " + str(self.sinkpad))
                        src_pad.link(self.sinkpad)
  
    def on_autoplug_continue(self, element, pad, caps):
diff --git a/src/transmageddon.py b/src/transmageddon.py
index f86aaf1..f1f1443 100644
--- a/src/transmageddon.py
+++ b/src/transmageddon.py
@@ -754,7 +754,6 @@ class TransmageddonUI(Gtk.ApplicationWindow):
        self.discovered.discover_uri_async(uri)
    
    def check_for_passthrough(self, containerchoice):
-       #print("checking for passthrough " + str(containerchoice.to_string()))
        videointersect = Gst.Caps.new_empty()
        audiointersect = []
        for x in self.audiostreamids:
@@ -787,6 +786,7 @@ class TransmageddonUI(Gtk.ApplicationWindow):
                                else:
                                    self.audiodata[y]['canpassthrough']=True
                                y=y+1
+       self.populate_menu_choices()
 
 
    # define the behaviour of the other buttons
@@ -1138,7 +1138,7 @@ class TransmageddonUI(Gtk.ApplicationWindow):
                    self.videocodecs.append("novid")
                    self.videonovideomenuno=(len(self.videocodecs))-1
                       
-                   # add the Passthrough option 
+                   # add the Passthrough option
                    if self.videodata[0]['canpassthrough']==True:
                        self.videorows[0].append_text(_("Video passthrough"))
                        self.videocodecs.append("pass")


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