gst/gstelement.override: So apparently 0 != O :)

Original commit message from CVS:
* gst/gstelement.override:
So apparently 0 != O :)
This commit is contained in:
Edward Hervey 2005-11-04 18:30:47 +00:00
parent 489d9c24a5
commit b6650fb5db
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-11-04 Edward Hervey <edward@fluendo.com>
* gst/gstelement.override:
So apparently 0 != O :)
2005-11-04 Edward Hervey <edward@fluendo.com> 2005-11-04 Edward Hervey <edward@fluendo.com>
* gst/gstpad.override: * gst/gstpad.override:

View file

@ -428,9 +428,10 @@ _wrap_gst_element_query_convert (PyGObject *self, PyObject *args, PyObject *kwar
/* Returns : dst_format, dst_val OR None */ /* Returns : dst_format, dst_val OR None */
if (!PyArg_ParseTupleAndKeywords(args, kwargs, if (!PyArg_ParseTupleAndKeywords(args, kwargs,
"0L0:GstElement.query_convert", "OLO:GstElement.query_convert",
kwlist, &pfromformat, &fromval, &pdestformat)) kwlist, &pfromformat, &fromval, &pdestformat))
return NULL; return NULL;
if (pyg_enum_get_value(GST_TYPE_FORMAT, pfromformat, (gint *) &srcformat)) { if (pyg_enum_get_value(GST_TYPE_FORMAT, pfromformat, (gint *) &srcformat)) {
PyErr_SetString(PyExc_TypeError, "argument should be a GstFormat"); PyErr_SetString(PyExc_TypeError, "argument should be a GstFormat");
return NULL; return NULL;