5143 static PyObject *
5144 _wrap_gst_element_change_state(PyGObject *self, PyObject *args, PyObject *kwargs)
5145 {
5146 static char *kwlist[] = { "transition", NULL };
5147 PyObject *py_transition = NULL;
5148 gint ret;
5149 GstStateChange transition;
5150
5151 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:GstElement.change_state", kwlist, &py_transition))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
5152 return NULL;
5153 if (pyg_enum_get_value(GST_TYPE_STATE_CHANGE, py_transition, (gint *)&transition))
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:5153
when considering range: -0x80000000 <= value <= -1
taking True path
5154 return NULL;
5155 pyg_begin_allow_threads;
5156 ret = gst_element_change_state(GST_ELEMENT(self->obj), transition);
5157 pyg_end_allow_threads;
5158 return pyg_enum_from_gtype(GST_TYPE_STATE_CHANGE_RETURN, ret);
5159 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this