18574 static PyObject *
18575 _wrap_GstBaseTransform__do_fixate_caps(PyObject *cls, PyObject *args, PyObject *kwargs)
18576 {
18577 gpointer klass;
18578 static char *kwlist[] = { "self", "direction", "caps", "othercaps", NULL };
18579 PyGObject *self;
18580 PyObject *py_direction = NULL, *py_caps, *py_othercaps;
18581 GstPadDirection direction;
18582 GstCaps *caps, *othercaps;
18583
18584 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"O!OOO:GstBaseTransform.fixate_caps", kwlist, &PyGstBaseTransform_Type, &self, &py_direction, &py_caps, &py_othercaps))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
18585 return NULL;
18586 if (pyg_enum_get_value(GST_TYPE_PAD_DIRECTION, py_direction, (gint *)&direction))
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:18586
when considering range: -0x80000000 <= value <= -1
taking True path
18587 return NULL;
18588 caps = pygst_caps_from_pyobject (py_caps, NULL);
18589 if (PyErr_Occurred())
18590 return NULL;
18591 othercaps = pygst_caps_from_pyobject (py_othercaps, NULL);
18592 if (PyErr_Occurred())
18593 return NULL;
18594 klass = g_type_class_ref(pyg_type_from_object(cls));
18595 if (GST_BASE_TRANSFORM_CLASS(klass)->fixate_caps) {
18596 pyg_begin_allow_threads;
18597 GST_BASE_TRANSFORM_CLASS(klass)->fixate_caps(GST_BASE_TRANSFORM(self->obj), direction, caps, othercaps);
18598 pyg_end_allow_threads;
18599 } else {
18600 PyErr_SetString(PyExc_NotImplementedError, "virtual method GstBaseTransform.fixate_caps not implemented");
18601 g_type_class_unref(klass);
18602 return NULL;
18603 }
18604 g_type_class_unref(klass);
18605 Py_INCREF(Py_None);
18606 return Py_None;
18607 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this