File: gst.c
Function: _wrap_gst_element_seek_simple
Error: returning (PyObject*)NULL without setting an exception
5533 static PyObject *
5534 _wrap_gst_element_seek_simple(PyGObject *self, PyObject *args, PyObject *kwargs)
5535 {
5536     static char *kwlist[] = { "format", "seek_flags", "seek_pos", NULL };
5537     PyObject *py_format = NULL, *py_seek_flags = NULL;
5538     int ret;
5539     GstFormat format;
5540     GstSeekFlags seek_flags;
5541     gint64 seek_pos;
5542 
5543     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"OOL:GstElement.seek_simple", kwlist, &py_format, &py_seek_flags, &seek_pos))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
5544         return NULL;
5545     if (pyg_enum_get_value(GST_TYPE_FORMAT, py_format, (gint *)&format))
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:5545
when considering range: -0x80000000 <= value <= -1
taking True path
5546         return NULL;
5547     if (pyg_flags_get_value(GST_TYPE_SEEK_FLAGS, py_seek_flags, (gint *)&seek_flags))
5548         return NULL;
5549     pyg_begin_allow_threads;
5550     ret = gst_element_seek_simple(GST_ELEMENT(self->obj), format, seek_flags, seek_pos);
5551     pyg_end_allow_threads;
5552     return PyBool_FromLong(ret);
5553 
5554 }
returning (PyObject*)NULL without setting an exception
found 3 similar trace(s) to this