File: gst.c
Function: _wrap_gst_index_add_format
Error: returning (PyObject*)NULL without setting an exception
4253 static PyObject *
4254 _wrap_gst_index_add_format(PyGObject *self, PyObject *args, PyObject *kwargs)
4255 {
4256     static char *kwlist[] = { "id", "format", NULL };
4257     int id;
4258     PyObject *py_format = NULL;
4259     GstFormat format;
4260     GstIndexEntry *ret;
4261 
4262     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"iO:GstIndex.add_format", kwlist, &id, &py_format))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
4263         return NULL;
4264     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:4264
when considering range: -0x80000000 <= value <= -1
taking True path
4265         return NULL;
4266     pyg_begin_allow_threads;
4267     ret = gst_index_add_format(GST_INDEX(self->obj), id, format);
4268     pyg_end_allow_threads;
4269     /* pyg_boxed_new handles NULL checking */
4270     return pyg_boxed_new(GST_TYPE_INDEX_ENTRY, (GstIndexEntry*) ret, TRUE, TRUE);
4271 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this