diff --git a/ChangeLog b/ChangeLog index a5f9f34670..7142384c6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-04 Edward Hervey + + * gst/gstelement.override: + So apparently 0 != O :) + 2005-11-04 Edward Hervey * gst/gstpad.override: diff --git a/gst/gstelement.override b/gst/gstelement.override index d2a666ad43..5dbd5390c7 100644 --- a/gst/gstelement.override +++ b/gst/gstelement.override @@ -428,9 +428,10 @@ _wrap_gst_element_query_convert (PyGObject *self, PyObject *args, PyObject *kwar /* Returns : dst_format, dst_val OR None */ if (!PyArg_ParseTupleAndKeywords(args, kwargs, - "0L0:GstElement.query_convert", + "OLO:GstElement.query_convert", kwlist, &pfromformat, &fromval, &pdestformat)) return NULL; + if (pyg_enum_get_value(GST_TYPE_FORMAT, pfromformat, (gint *) &srcformat)) { PyErr_SetString(PyExc_TypeError, "argument should be a GstFormat"); return NULL;