File: gst.c
Function: _wrap_gst_interpolation_control_source_set_interpolation_mode
Error: returning (PyObject*)NULL without setting an exception
14228 static PyObject *
14229 _wrap_gst_interpolation_control_source_set_interpolation_mode(PyGObject *self, PyObject *args, PyObject *kwargs)
14230 {
14231     static char *kwlist[] = { "mode", NULL };
14232     GstInterpolateMode mode;
14233     PyObject *py_mode = NULL;
14234     int ret;
14235 
14236     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:GstInterpolationControlSource.set_interpolation_mode", kwlist, &py_mode))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
14237         return NULL;
14238     if (pyg_enum_get_value(G_TYPE_NONE, py_mode, (gint *)&mode))
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:14238
when considering range: -0x80000000 <= value <= -1
taking True path
14239         return NULL;
14240     pyg_begin_allow_threads;
14241     ret = gst_interpolation_control_source_set_interpolation_mode(GST_INTERPOLATION_CONTROL_SOURCE(self->obj), mode);
14242     pyg_end_allow_threads;
14243     return PyBool_FromLong(ret);
14244 
14245 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this