File: gst.c
Function: _wrap_gst_segment_to_running_time
Error: returning (PyObject*)NULL without setting an exception
2838 static PyObject *
2839 _wrap_gst_segment_to_running_time(PyObject *self, PyObject *args, PyObject *kwargs)
2840 {
2841     static char *kwlist[] = { "format", "position", NULL };
2842     PyObject *py_format = NULL;
2843     GstFormat format;
2844     gint64 position, ret;
2845 
2846     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"OL:GstSegment.to_running_time", kwlist, &py_format, &position))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
2847         return NULL;
2848     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:2848
when considering range: -0x80000000 <= value <= -1
taking True path
2849         return NULL;
2850     pyg_begin_allow_threads;
2851     ret = gst_segment_to_running_time(pyg_boxed_get(self, GstSegment), format, position);
2852     pyg_end_allow_threads;
2853     return PyLong_FromLongLong(ret);
2854 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this