File: gst.c
Function: _wrap_gst_event_new_seek
Error: returning (PyObject*)NULL without setting an exception
25064 static PyObject *
25065 _wrap_gst_event_new_seek(PyObject *self, PyObject *args, PyObject *kwargs)
25066 {
25067     static char *kwlist[] = { "rate", "format", "flags", "start_type", "start", "stop_type", "stop", NULL };
25068     GstSeekType start_type, stop_type;
25069     PyObject *py_format = NULL, *py_flags = NULL, *py_start_type = NULL, *py_stop_type = NULL, *py_ret;
25070     double rate;
25071     GstEvent *ret;
25072     GstFormat format;
25073     gint64 start, stop;
25074     GstSeekFlags flags;
25075 
25076     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"dOOOLOL:event_new_seek", kwlist, &rate, &py_format, &py_flags, &py_start_type, &start, &py_stop_type, &stop))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
25077         return NULL;
25078     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:25078
when considering value == (gint)0 from gst.c:25078
taking False path
25079         return NULL;
25080     if (pyg_flags_get_value(GST_TYPE_SEEK_FLAGS, py_flags, (gint *)&flags))
calling unknown gint (*) (GType, struct PyObject *, gint *) from gst.c:25080
when considering value == (gint)0 from gst.c:25080
taking False path
25081         return NULL;
25082     if (pyg_enum_get_value(GST_TYPE_SEEK_TYPE, py_start_type, (gint *)&start_type))
calling unknown gint (*) (GType, struct PyObject *, gint *) from gst.c:25082
when considering value == (gint)0 from gst.c:25082
taking False path
25083         return NULL;
25084     if (pyg_enum_get_value(GST_TYPE_SEEK_TYPE, py_stop_type, (gint *)&stop_type))
calling unknown gint (*) (GType, struct PyObject *, gint *) from gst.c:25084
when considering range: -0x80000000 <= value <= -1
taking True path
25085         return NULL;
25086     pyg_begin_allow_threads;
25087     ret = gst_event_new_seek(rate, format, flags, start_type, start, stop_type, stop);
25088     pyg_end_allow_threads;
25089     py_ret = pygstminiobject_new((GstMiniObject *)ret);
25090     if (ret != NULL)
25091        gst_mini_object_unref((GstMiniObject *)ret);
25092     return py_ret;
25093 }
returning (PyObject*)NULL without setting an exception
found 3 similar trace(s) to this