File: gst.c
Function: _wrap_gst_segment_to_position
Error: returning (PyObject*)NULL without setting an exception
2856 static PyObject *
2857 _wrap_gst_segment_to_position(PyObject *self, PyObject *args, PyObject *kwargs)
2858 {
2859     static char *kwlist[] = { "format", "running_time", NULL };
2860     PyObject *py_format = NULL;
2861     GstFormat format;
2862     gint64 running_time, ret;
2863 
2864     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"OL:GstSegment.to_position", kwlist, &py_format, &running_time))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
2865         return NULL;
2866     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:2866
when considering range: -0x80000000 <= value <= -1
taking True path
2867         return NULL;
2868     pyg_begin_allow_threads;
2869     ret = gst_segment_to_position(pyg_boxed_get(self, GstSegment), format, running_time);
2870     pyg_end_allow_threads;
2871     return PyLong_FromLongLong(ret);
2872 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this