mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 14:38:48 +00:00
Gst: Do not initialize Gst at init
Letting the user choose when to initialize it himself
This commit is contained in:
parent
ab5ea83026
commit
9d1666ad07
1 changed files with 0 additions and 6 deletions
|
@ -259,15 +259,9 @@ class Fraction(Gst.Fraction):
|
||||||
Fraction = override(Fraction)
|
Fraction = override(Fraction)
|
||||||
__all__.append('Fraction')
|
__all__.append('Fraction')
|
||||||
|
|
||||||
initialized, argv = Gst.init_check(sys.argv)
|
|
||||||
|
|
||||||
import _gi_gst
|
import _gi_gst
|
||||||
_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
|
# maybe more python and less C some day if core turns a bit more introspection
|
||||||
# and binding friendly in the debug area
|
# and binding friendly in the debug area
|
||||||
Gst.log = _gi_gst.log
|
Gst.log = _gi_gst.log
|
||||||
|
|
Loading…
Reference in a new issue