From 9d1666ad0758617df6921d6ebd5dd802350e7148 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Mon, 26 Aug 2013 17:35:48 -0400 Subject: [PATCH] Gst: Do not initialize Gst at init Letting the user choose when to initialize it himself --- gi/overrides/Gst.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gi/overrides/Gst.py b/gi/overrides/Gst.py index f779739..8b1b79a 100644 --- a/gi/overrides/Gst.py +++ b/gi/overrides/Gst.py @@ -259,15 +259,9 @@ class Fraction(Gst.Fraction): Fraction = override(Fraction) __all__.append('Fraction') -initialized, argv = Gst.init_check(sys.argv) - import _gi_gst _gi_gst -sys.argv = list(argv) -if not initialized: - raise RuntimeError("Gst couldn't be initialized") - # maybe more python and less C some day if core turns a bit more introspection # and binding friendly in the debug area Gst.log = _gi_gst.log -- 2.7.4