From e6a9dec4748b9912796b01569b0007735ef1199a Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Wed, 22 Sep 2004 18:01:45 +0000 Subject: [PATCH] fix threading issues here aswell Original commit message from CVS: fix threading issues here aswell --- gst/gstbin.override | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/gstbin.override b/gst/gstbin.override index 73ead9c..bf6be93 100644 --- a/gst/gstbin.override +++ b/gst/gstbin.override @@ -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); } %% -- 2.7.4