[pitivi] Initialize GES
- From: Nicolas Dufresne <nicolasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Initialize GES
- Date: Tue, 5 Mar 2013 22:27:45 +0000 (UTC)
commit a1a3d59f3ede5bd54236308aee48542732415767
Author: Nicolas Dufresne <nicolas dufresne collabora com>
Date: Tue Mar 5 17:27:21 2013 -0500
Initialize GES
Without this, PiTiVi may segfault during assets initialization.
pitivi/check.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/check.py b/pitivi/check.py
index 1690084..2bda1a3 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -185,6 +185,10 @@ def check_hard_dependencies():
if _string_to_list(inst) < _string_to_list(HARD_DEPS["gnonlin"]):
missing_hard_deps["GNonLin"] = (HARD_DEPS["gnonlin"], inst)
+ # GES is checked, import and intialize it
+ from gi.repository import GES
+ GES.init()
+
# Prepare the list of hard deps errors to warn about later:
for dependency in missing_hard_deps:
req = missing_hard_deps[dependency][0]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]