gi: Check Gst has not been initialized before loading bindings
It can have been initialized by some C code (in a C app with plugins for example). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=788088
This commit is contained in:
parent
063562c986
commit
fb9401d6e9
@ -633,4 +633,5 @@ def deinit():
|
||||
|
||||
Gst.deinit = deinit
|
||||
|
||||
deinit_pygst()
|
||||
if not Gst.is_initialized():
|
||||
deinit_pygst()
|
||||
|
Loading…
x
Reference in New Issue
Block a user