mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
fix return type of pad query
Original commit message from CVS: fix return type of pad query
This commit is contained in:
parent
9b8cae639d
commit
9a4cde007b
3 changed files with 7 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit d6e219fd076d8f182bd1ee84228b1b85cdb807a6
|
||||
Subproject commit b7abb510aa14e8692df39ea8c2c758e37d8a8d8a
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue