fix threading issues here aswell

Original commit message from CVS:
fix threading issues here aswell
This commit is contained in:
Johan Dahlin 2004-09-22 18:01:45 +00:00
parent 009920d062
commit e6a9dec474

View file

@ -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);
}
%%