mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gst/gstpad.override: Release the GIL lock while executing queries in GStreamer.
Original commit message from CVS: * gst/gstpad.override: Release the GIL lock while executing queries in GStreamer.
This commit is contained in:
parent
d3a4c03c2b
commit
483a107dbf
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-04-11 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/gstpad.override:
|
||||
Release the GIL lock while executing queries in GStreamer.
|
||||
|
||||
2007-04-10 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* examples/pyidentity.py:
|
||||
|
|
|
@ -729,7 +729,9 @@ _wrap_gst_pad_query(PyGObject *self, PyObject *args, PyObject *kwargs)
|
|||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!:GstPad.query", kwlist, &PyGstQuery_Type, &query))
|
||||
return NULL;
|
||||
|
||||
pyg_begin_allow_threads;
|
||||
ret = gst_pad_query(GST_PAD(self->obj), GST_QUERY (query->obj));
|
||||
pyg_end_allow_threads;
|
||||
|
||||
return PyBool_FromLong(ret);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue