mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
gstpad: Don't forget to acquire/release the GIL in pac_block_destroy_data
This commit is contained in:
parent
aa92fc1bd7
commit
f46cb7c335
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
pyg_gil_state_release(state);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue