27430 static PyObject *
27431 _wrap_gst_element_state_change_return_get_name(PyObject *self, PyObject *args, PyObject *kwargs)
27432 {
27433 static char *kwlist[] = { "state_ret", NULL };
27434 PyObject *py_state_ret = NULL;
27435 const gchar *ret;
27436 GstStateChangeReturn state_ret;
27437
27438 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:state_change_return_get_name", kwlist, &py_state_ret))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
27439 return NULL;
27440 if (pyg_enum_get_value(GST_TYPE_STATE_CHANGE_RETURN, py_state_ret, (gint *)&state_ret))
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:27440
when considering range: -0x80000000 <= value <= -1
taking True path
27441 return NULL;
27442 pyg_begin_allow_threads;
27443 ret = gst_element_state_change_return_get_name(state_ret);
27444 pyg_end_allow_threads;
27445 if (ret)
27446 return PyString_FromString(ret);
27447 Py_INCREF(Py_None);
27448 return Py_None;
27449 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this