mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
plugin: Always initialize GIL state
gcc warns about possibly unintialized use of it (even if it can't actually happen)
This commit is contained in:
parent
fcbca025e3
commit
425990047b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue