[pitivi] pipeline: Dot the pipeline when receiving an ERROR message



commit 1c39e4fb2588fa06d6ad65c4e88f2e4c7a25f46b
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Nov 26 14:45:16 2014 +0100

    pipeline: Dot the pipeline when receiving an ERROR message

 pitivi/utils/pipeline.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 7fadf08..fdadeae 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -455,7 +455,8 @@ class SimplePipeline(GObject.Object, Loggable):
         elif message.type == Gst.MessageType.ERROR:
             error, detail = message.parse_error()
             self._handleErrorMessage(error, detail, message.src)
-            self._waiting_for_async_done = False
+            Gst.debug_bin_to_dot_file_with_ts(self, Gst.DebugGraphDetails.ALL,
+                                              "pitivi.error")
             if not (self._pipeline.get_mode() & GES.PipelineFlags.RENDER):
                 self._recover()
         elif message.type == Gst.MessageType.DURATION_CHANGED:


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