12749 static PyObject *
12750 _wrap_gst_task_set_state(PyGObject *self, PyObject *args, PyObject *kwargs)
12751 {
12752 static char *kwlist[] = { "state", NULL };
12753 PyObject *py_state = NULL;
12754 int ret;
12755 GstTaskState state;
12756
12757 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O:GstTask.set_state", kwlist, &py_state))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
12758 return NULL;
12759 if (pyg_enum_get_value(GST_TYPE_TASK_STATE, py_state, (gint *)&state))
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:12759
when considering range: -0x80000000 <= value <= -1
taking True path
12760 return NULL;
12761 pyg_begin_allow_threads;
12762 ret = gst_task_set_state(GST_TASK(self->obj), state);
12763 pyg_end_allow_threads;
12764 return PyBool_FromLong(ret);
12765
12766 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this