* morituri/common/encode.py:

Add some debug.
This commit is contained in:
Thomas Vander Stichele
2011-05-23 13:46:46 +00:00
parent e47b30610d
commit 514bf4bc10
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
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:

View File

@@ -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)