projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3d89ad
)
Add some hackery hackery
author
Johan Dahlin
<johan@gnome.org>
Mon, 11 Oct 2004 08:56:52 +0000
(08:56 +0000)
committer
Johan Dahlin
<johan@gnome.org>
Mon, 11 Oct 2004 08:56:52 +0000
(08:56 +0000)
Original commit message from CVS:
Add some hackery hackery
gst/gstbin.override
patch
|
blob
|
history
diff --git
a/gst/gstbin.override
b/gst/gstbin.override
index
bf6be93
..
126ec8a
100644
(file)
--- a/
gst/gstbin.override
+++ b/
gst/gstbin.override
@@
-94,10
+94,21
@@
_wrap_gst_bin_iterate(PyGObject *self)
{
int ret;
+/* XXX: Find out which one is the most correct */
+#if 1
pyg_begin_allow_threads;
-
+
ret = gst_bin_iterate(GST_BIN(self->obj));
+
pyg_end_allow_threads;
+
+#else
+ PyGILState_STATE state;
+
+ state = pyg_gil_state_ensure();
+ ret = gst_bin_iterate(GST_BIN(self->obj));
+ pyg_gil_state_release(state);
+#endif
return PyInt_FromLong(ret);
}
%%