Commit fb9401d6 authored by Thibault Saunier's avatar Thibault Saunier Committed by Thibault Saunier

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
parent 063562c9
......@@ -633,4 +633,5 @@ def deinit():
Gst.deinit = deinit
deinit_pygst()
if not Gst.is_initialized():
deinit_pygst()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment