fix return type of pad query

Original commit message from CVS:
fix return type of pad query
This commit is contained in:
Thomas Vander Stichele 2003-09-27 14:18:36 +00:00
parent 9b8cae639d
commit 9a4cde007b
3 changed files with 7 additions and 3 deletions

2
common

@ -1 +1 @@
Subproject commit d6e219fd076d8f182bd1ee84228b1b85cdb807a6
Subproject commit b7abb510aa14e8692df39ea8c2c758e37d8a8d8a

View file

@ -278,7 +278,9 @@ _wrap_gst_pad_query(PyGObject *self, PyObject *args, PyObject *kwargs)
return NULL;
value = 0;
ret = gst_pad_query(GST_PAD(self->obj), type, &format, &value);
return Py_BuildValue("(bl)", ret, value);
g_print ("HOI THOMAS\n");
g_print ("THOMAS: value: %lld\n", value);
return Py_BuildValue("(bL)", ret, value);
}
%%
override gst_element_query kwargs

View file

@ -278,7 +278,9 @@ _wrap_gst_pad_query(PyGObject *self, PyObject *args, PyObject *kwargs)
return NULL;
value = 0;
ret = gst_pad_query(GST_PAD(self->obj), type, &format, &value);
return Py_BuildValue("(bl)", ret, value);
g_print ("HOI THOMAS\n");
g_print ("THOMAS: value: %lld\n", value);
return Py_BuildValue("(bL)", ret, value);
}
%%
override gst_element_query kwargs