File: gstelement.override
Function: _wrap_gst_element_query_position
Error: ob_refcnt of new ref from call through function pointer is 1 too high
389 static PyObject *
390 _wrap_gst_element_query_position (PyGObject *self, PyObject *args)
391 {
392     gint64	cur;
393     gint	format;
394     PyObject	*pformat;
395     gboolean    res;
396 
397     pformat = (PyObject*)PyTuple_GetItem(args, 0);
398     if (pyg_enum_get_value (GST_TYPE_FORMAT, pformat, &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 gstelement.override:398
when considering value == (gint)0 from gstelement.override:398
taking False path
399         PyErr_SetString(PyExc_TypeError, "argument should be a GstFormat");
400         return NULL;
401     }
402 
403     pyg_begin_allow_threads;
when considering value == (gboolean)0 from gstelement.override:403
taking False path
404     res = gst_element_query_position(GST_ELEMENT (self->obj), (GstFormat*) &format, &cur);
405     pyg_end_allow_threads;
when considering range: -0x80000000 <= value <= -1
taking True path
reacquiring the GIL by calling PyEval_RestoreThread()
406 
407     if (!res) {
when considering range: -0x80000000 <= value <= -1
taking False path
408 	PyErr_Format(PyGstExc_QueryError,
409 		     "query failed");
410         return NULL;
411     }
412 
413     return Py_BuildValue("(LO)", cur,
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at:     return Py_BuildValue("(LO)", cur,
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
414 			 pyg_enum_from_gtype(GST_TYPE_FORMAT, format));
415 }
ob_refcnt of new ref from call through function pointer is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 15 similar trace(s) to this