Commit f46cb7c3 authored by Edward Hervey's avatar Edward Hervey 🤘

gstpad: Don't forget to acquire/release the GIL in pac_block_destroy_data

parent aa92fc1b
......@@ -1351,9 +1351,14 @@ override gst_pad_set_blocked_async args
static void
pad_block_destroy_data (gpointer data)
PyObject *py_data = (PyObject *) data;
PyGILState_STATE state;
PyObject *py_data = (PyObject *) data;
state = pyg_gil_state_ensure();
Py_DECREF (py_data);
Py_DECREF (py_data);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment