File: gst.c
Function: _wrap_gst_segment_to_stream_time
Error: returning (PyObject*)NULL without setting an exception
2820 static PyObject *
2821 _wrap_gst_segment_to_stream_time(PyObject *self, PyObject *args, PyObject *kwargs)
2822 {
2823     static char *kwlist[] = { "format", "position", NULL };
2824     PyObject *py_format = NULL;
2825     GstFormat format;
2826     gint64 position, ret;
2827 
2828     if (!PyArg_ParseTupleAndKeywords(args, kwargs,"OL:GstSegment.to_stream_time", kwlist, &py_format, &position))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
2829         return NULL;
2830     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:2830
when considering range: -0x80000000 <= value <= -1
taking True path
2831         return NULL;
2832     pyg_begin_allow_threads;
2833     ret = gst_segment_to_stream_time(pyg_boxed_get(self, GstSegment), format, position);
2834     pyg_end_allow_threads;
2835     return PyLong_FromLongLong(ret);
2836 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this