[SCM] morituri/master: * morituri/common/encode.py: Add some debug.
    js at users.alioth.debian.org 
    js at users.alioth.debian.org
       
    Sun Oct 19 20:09:26 UTC 2014
    
    
  
The following commit has been merged in the master branch:
commit 514bf4bc10c9113b47aed7404f7f0aa781328cd0
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Mon May 23 13:46:46 2011 +0000
    	* morituri/common/encode.py:
    	  Add some debug.
diff --git a/ChangeLog b/ChangeLog
index 592864f..c873ef3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-05-23  Thomas Vander Stichele  <thomas at apestaart dot org>
 
+	* morituri/common/encode.py:
+	  Add some debug.
+
+2011-05-23  Thomas Vander Stichele  <thomas at apestaart dot org>
+
 	* morituri/common/program.py:
 	  AccurateRip responses should be treated per track; one response set
 	  isn't necessarily from the same pressing.
diff --git a/morituri/common/encode.py b/morituri/common/encode.py
index 69a7726..f9322e9 100644
--- a/morituri/common/encode.py
+++ b/morituri/common/encode.py
@@ -323,8 +323,8 @@ class TagReadTask(task.Task):
 
         self.debug('pausing pipeline')
         self._pipeline.set_state(gst.STATE_PAUSED)
-        self._pipeline.get_state()
-        self.debug('paused pipeline')
+        ret = self._pipeline.get_state()
+        self.debug('paused pipeline, get_state returned %r', ret)
 
         # add eos handling
         bus = self._pipeline.get_bus()
@@ -341,6 +341,7 @@ class TagReadTask(task.Task):
         # would not work.
 
         def play():
+            self.debug('setting pipeline to play')
             self._pipeline.set_state(gst.STATE_PLAYING)
             return False
         self.runner.schedule(0, play)
-- 
morituri packaging
    
    
More information about the pkg-multimedia-commits
mailing list