mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 01:19:38 +00:00
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.
This commit is contained in:
parent
66f9b9f28e
commit
8723c77035
3 changed files with 8 additions and 1 deletions
|
@ -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>
|
2007-06-08 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
Patch by : Michael Smith <msmith@fluendo.com>
|
Patch by : Michael Smith <msmith@fluendo.com>
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit b5971d76ccd216c27e095c02c3a369a9d05cb36d
|
Subproject commit 6cb0000a5a30d4fc580a06489106a637fca024c4
|
|
@ -1358,8 +1358,10 @@ _wrap_gst_pad_set_blocked_async (PyGObject *self, PyObject *args)
|
||||||
data = Py_BuildValue("(ON)", callback, cbargs);
|
data = Py_BuildValue("(ON)", callback, cbargs);
|
||||||
if (data == NULL)
|
if (data == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
pyg_begin_allow_threads;
|
||||||
ret = gst_pad_set_blocked_async (GST_PAD (self->obj), blocked,
|
ret = gst_pad_set_blocked_async (GST_PAD (self->obj), blocked,
|
||||||
(GstPadBlockCallback) pad_block_callback_marshal, data);
|
(GstPadBlockCallback) pad_block_callback_marshal, data);
|
||||||
|
pyg_end_allow_threads;
|
||||||
if (ret)
|
if (ret)
|
||||||
pret = Py_True;
|
pret = Py_True;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue