From 8723c770359eb7028c2f1897da9212cd791bc5a1 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 11 Jun 2007 22:00:20 +0000 Subject: [PATCH] gst/gstpad.override: Wrap gst_pad_set_blocked_async in pyg thread unlock/lock. Original commit message from CVS: * gst/gstpad.override: Wrap gst_pad_set_blocked_async in pyg thread unlock/lock. --- ChangeLog | 5 +++++ common | 2 +- gst/gstpad.override | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7c8eb0aef1..3376c19999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-11 Jan Schmidt + + * gst/gstpad.override: + Wrap gst_pad_set_blocked_async in pyg thread unlock/lock. + 2007-06-08 Edward Hervey Patch by : Michael Smith diff --git a/common b/common index b5971d76cc..6cb0000a5a 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d +Subproject commit 6cb0000a5a30d4fc580a06489106a637fca024c4 diff --git a/gst/gstpad.override b/gst/gstpad.override index e2ec9a4936..0db17897b7 100644 --- a/gst/gstpad.override +++ b/gst/gstpad.override @@ -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