mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -633,4 +633,5 @@ def deinit():
|
|||
|
||||
Gst.deinit = deinit
|
||||
|
||||
deinit_pygst()
|
||||
if not Gst.is_initialized():
|
||||
deinit_pygst()
|
||||
|
|
Loading…
Reference in a new issue