[pitivi] Initialize GES



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]