[pitivi] pipeline: When we get an error, reset _waiting_for_async_done to False.
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] pipeline: When we get an error, reset _waiting_for_async_done to False.
- Date: Fri, 27 Sep 2013 20:07:13 +0000 (UTC)
commit f95df4a7f08d395c4366136442c3072d3309df91
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Wed Sep 25 03:05:26 2013 +0200
pipeline: When we get an error, reset _waiting_for_async_done to False.
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 459d08e..c86500e 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -431,6 +431,7 @@ class SimplePipeline(Signallable, Loggable):
elif message.type == Gst.MessageType.ERROR:
error, detail = message.parse_error()
self._handleErrorMessage(error, detail, message.src)
+ self._waiting_for_async_done = False
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]