1076 static PyObject *
1077 _wrap_gst_pad_query_duration (PyGObject *self, PyObject *args)
1078 {
1079 gint64 cur;
1080 gint format;
1081 PyObject *pformat;
1082 PyObject *ret;
1083
1084 pformat = (PyObject*)PyTuple_GetItem(args, 0);
1085 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 gstpad.override:1085
when considering value == (gint)0 from gstpad.override:1085
taking False path
1086 PyErr_SetString(PyExc_TypeError, "argument should be a GstFormat");
1087 return NULL;
1088 }
1089
1090 if ((gst_pad_query_duration(GST_PAD (self->obj), (GstFormat*) &format, &cur))) {
when considering range: -0x80000000 <= value <= -1
taking True path
1091 ret = Py_BuildValue("(LO)", cur,
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: ret = Py_BuildValue("(LO)", cur,
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
1092 pyg_enum_from_gtype (GST_TYPE_FORMAT, format));
1093 } else {
1094 Py_INCREF(Py_None);
1095 ret = Py_None;
1096 }
1097
1098 return ret;
1099 }
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 3 similar trace(s) to this