gst/gstpad.override: Wrap gst_pad_set_blocked_async in pyg thread unlock/lock.
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 11 Jun 2007 22:00:20 +0000 (22:00 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 11 Jun 2007 22:00:20 +0000 (22:00 +0000)
Original commit message from CVS:
* gst/gstpad.override:
Wrap gst_pad_set_blocked_async in pyg thread unlock/lock.

ChangeLog
common
gst/gstpad.override

index 7c8eb0a..3376c19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-11  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * gst/gstpad.override:
+       Wrap gst_pad_set_blocked_async in pyg thread unlock/lock.
+
 2007-06-08  Edward Hervey  <edward@fluendo.com>
 
        Patch by : Michael Smith  <msmith@fluendo.com>
diff --git a/common b/common
index b5971d7..6cb0000 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d
+Subproject commit 6cb0000a5a30d4fc580a06489106a637fca024c4
index e2ec9a4..0db1789 100644 (file)
@@ -1358,8 +1358,10 @@ _wrap_gst_pad_set_blocked_async (PyGObject *self, PyObject *args)
     data = Py_BuildValue("(ON)", callback, cbargs);
     if (data == NULL)
         return NULL;
+    pyg_begin_allow_threads;
     ret = gst_pad_set_blocked_async (GST_PAD (self->obj), blocked,
         (GstPadBlockCallback) pad_block_callback_marshal, data);
+    pyg_end_allow_threads;
     if (ret)
         pret = Py_True;
     else