diff --git a/ChangeLog b/ChangeLog index 592864f..c873ef3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-23 Thomas Vander Stichele + + * morituri/common/encode.py: + Add some debug. + 2011-05-23 Thomas Vander Stichele * morituri/common/program.py: 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)