22396 static PyObject *
22397 _wrap_gst_query_set_position(PyGstMiniObject *self, PyObject *args, PyObject *kwargs)
22398 {
22399 static char *kwlist[] = { "format", "cur", NULL };
22400 PyObject *py_format = NULL;
22401 GstFormat format;
22402 gint64 cur;
22403
22404 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"OL:GstQuery.set_position", kwlist, &py_format, &cur))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
22405 return NULL;
22406 if (pyg_enum_get_value(GST_TYPE_FORMAT, py_format, (gint *)&format))
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown gint (*) (GType, struct PyObject *, gint *) from gst.c:22406
when considering range: -0x80000000 <= value <= -1
taking True path
22407 return NULL;
22408 pyg_begin_allow_threads;
22409 gst_query_set_position(GST_QUERY(self->obj), format, cur);
22410 pyg_end_allow_threads;
22411 Py_INCREF(Py_None);
22412 return Py_None;
22413 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this