File: gst.c
Function: _wrap_gst_debug_set_default_threshold
Error: returning (PyObject*)NULL without setting an exception
25381 static PyObject *
25382 _wrap_gst_debug_set_default_threshold(PyObject *self, PyObject *args, PyObject *kwargs)
25383 {
25384     static char *kwlist[] = { "level", NULL };
25385     PyObject *py_level = NULL;
25386     GstDebugLevel level;
25387 
25388     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:debug_set_default_threshold", kwlist, &py_level))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
25389         return NULL;
25390     if (pyg_enum_get_value(GST_TYPE_DEBUG_LEVEL, py_level, (gint *)&level))
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:25390
when considering range: -0x80000000 <= value <= -1
taking True path
25391         return NULL;
25392     pyg_begin_allow_threads;
25393     gst_debug_set_default_threshold(level);
25394     pyg_end_allow_threads;
25395     Py_INCREF(Py_None);
25396     return Py_None;
25397 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this