27247 static PyObject *
27248 _wrap_gst_element_make_from_uri(PyObject *self, PyObject *args, PyObject *kwargs)
27249 {
27250 static char *kwlist[] = { "type", "uri", "elementname", NULL };
27251 PyObject *py_type = NULL;
27252 char *uri, *elementname = NULL;
27253 GstElement *ret;
27254 GstURIType type;
27255
27256 if (!PyArg_ParseTupleAndKeywords(args, kwargs,"Os|z:element_make_from_uri", kwlist, &py_type, &uri, &elementname))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
27257 return NULL;
27258 if (pyg_enum_get_value(GST_TYPE_URI_TYPE, py_type, (gint *)&type))
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:27258
when considering range: -0x80000000 <= value <= -1
taking True path
27259 return NULL;
27260 pyg_begin_allow_threads;
27261 ret = gst_element_make_from_uri(type, uri, elementname);
27262 pyg_end_allow_threads;
27263 /* pygobject_new handles NULL checking */
27264 return pygobject_new((GObject *)ret);
27265 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this