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
@ -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…
x
Reference in New Issue
Block a user