mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
fix threading issues here aswell
Original commit message from CVS: fix threading issues here aswell
This commit is contained in:
parent
009920d062
commit
e6a9dec474
1 changed files with 3 additions and 2 deletions
|
@ -94,9 +94,10 @@ _wrap_gst_bin_iterate(PyGObject *self)
|
|||
{
|
||||
int ret;
|
||||
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
pyg_begin_allow_threads;
|
||||
|
||||
ret = gst_bin_iterate(GST_BIN(self->obj));
|
||||
Py_END_ALLOW_THREADS;
|
||||
pyg_end_allow_threads;
|
||||
return PyInt_FromLong(ret);
|
||||
}
|
||||
%%
|
||||
|
|
Loading…
Reference in a new issue