[pitivi] pipeline: Provide a bit of context



commit e7ccdecc91f72e9668aa6f25c772ee59128f81f0
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Sep 29 19:56:39 2014 +0200

    pipeline: Provide a bit of context

 pitivi/utils/pipeline.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index dbe4cb6..cf23296 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -393,13 +393,10 @@ class SimplePipeline(GObject.Object, Loggable):
 
         if self._timeout_async_id:
             GLib.source_remove(self._timeout_async_id)
-            self._timeout_async_id = 0
-
         self._timeout_async_id = GLib.timeout_add(1000, self._resetWaitingForAsyncDone)
 
         if not res:
-            self.debug("seeking failed")
-            raise PipelineError("seek failed")
+            raise PipelineError("seek failed: %s" % position)
 
         self.lastPosition = position
 


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