[pitivi] pipeline: Recover the pipeline when not receiving ASYNC_DONE



commit cddf22f0a6c3a08d9bb17914015afeecfe87ebaf
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Nov 26 15:01:55 2014 +0100

    pipeline: Recover the pipeline when not receiving ASYNC_DONE
    
    Not receiving ASYNC_DONE is really bad!

 pitivi/utils/pipeline.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 955f1e6..d95388e 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -389,6 +389,7 @@ class SimplePipeline(GObject.Object, Loggable):
 
     def _asyncDoneNotReceivedCb(self):
         self.error("we didn't get async done, this is a bug")
+        self._recover()
         # Source is being removed
         self._removeWaitingForAsyncDoneTimeout()
         return False


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