All pastes #434220 Raw Edit

Untitled

public python v1 · immutable
·published 2007-04-11 09:13 UTC
rendered paste body
diff -u -r1.40 gstpad.override--- gst/gstpad.override 10 Apr 2007 18:01:25 -0000      1.40+++ gst/gstpad.override 11 Apr 2007 09:12:33 -0000@@ -729,7 +729,9 @@     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);    }