File: | gstmessage.override |
Function: | _wrap_gst_message_parse_step_done |
Error: | ob_refcnt of PyBool_FromLong is 1 too high |
350 static PyObject *
351 _wrap_gst_message_parse_step_done (PyGstMiniObject *self)
352 {
353 GstFormat format;
354 guint64 amount, duration;
355 gdouble rate;
356 gboolean flush, intermediate, eos;
357
358
359 if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_STEP_DONE) {
when treating unknown struct GstMiniObject * from gstmessage.override:359 as non-NULL
when taking False path
360 PyErr_SetString(PyExc_TypeError, "Message is not an 'step-done' message");
361 return NULL;
362 }
363
364 gst_message_parse_step_done (GST_MESSAGE (self->obj), &format, &amount, &rate,
365 &flush, &intermediate, &duration, &eos);
366
367 return Py_BuildValue("OKdOOKO",
PyBool_FromLong() returns
PyBool_FromLong() returns
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
PyBool_FromLong allocated at: return Py_BuildValue("OKdOOKO",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
368 pyg_enum_from_gtype (GST_TYPE_FORMAT, format),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
369 amount, rate,
370 PyBool_FromLong(flush),
371 PyBool_FromLong(intermediate),
372 duration,
373 PyBool_FromLong(eos));
374 }
ob_refcnt of PyBool_FromLong 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 8 similar trace(s) to this
File: | gstmessage.override |
Function: | _wrap_gst_message_parse_step_done |
Error: | ob_refcnt of new ref from call through function pointer is 1 too high |
350 static PyObject *
351 _wrap_gst_message_parse_step_done (PyGstMiniObject *self)
352 {
353 GstFormat format;
354 guint64 amount, duration;
355 gdouble rate;
356 gboolean flush, intermediate, eos;
357
358
359 if (GST_MESSAGE_TYPE(self->obj) != GST_MESSAGE_STEP_DONE) {
when treating unknown struct GstMiniObject * from gstmessage.override:359 as non-NULL
when taking False path
360 PyErr_SetString(PyExc_TypeError, "Message is not an 'step-done' message");
361 return NULL;
362 }
363
364 gst_message_parse_step_done (GST_MESSAGE (self->obj), &format, &amount, &rate,
365 &flush, &intermediate, &duration, &eos);
366
367 return Py_BuildValue("OKdOOKO",
PyBool_FromLong() returns
PyBool_FromLong() returns
PyBool_FromLong() returns
when call succeeds
when Py_BuildValue() succeeds
new ref from call through function pointer allocated at: return Py_BuildValue("OKdOOKO",
ob_refcnt is now refs: 1 + N where N >= 0
ob_refcnt is now refs: 1 + N where N >= 1
368 pyg_enum_from_gtype (GST_TYPE_FORMAT, format),
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
369 amount, rate,
370 PyBool_FromLong(flush),
371 PyBool_FromLong(intermediate),
372 duration,
373 PyBool_FromLong(eos));
374 }
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 1 similar trace(s) to this