Commit 42599004 authored by Thibault Saunier's avatar Thibault Saunier

plugin: Always initialize GIL state

gcc warns about possibly unintialized use of it

(even if it can't actually happen)
parent fcbca025
......@@ -208,7 +208,7 @@ gst_python_plugin_load (GstPlugin * plugin)
static gboolean
plugin_init (GstPlugin * plugin)
{
PyGILState_STATE state;
PyGILState_STATE state = 0;
PyObject *gi, *require_version, *args, *gst, *dict, *pyplugin;
gboolean we_initialized = FALSE;
GModule *libpython;
......
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