mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gst/gstpad.override: works better now we set the item to the proper position...
Original commit message from CVS: * gst/gstpad.override: works better now we set the item to the proper position...
This commit is contained in:
parent
bf88eeddbb
commit
489d9c24a5
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-04 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.override:
|
||||
works better now we set the item to the proper position...
|
||||
|
||||
2005-11-04 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.override:
|
||||
|
|
|
@ -677,7 +677,7 @@ _wrap_gst_pad_query_position (PyGObject *self, PyObject *args)
|
|||
if ((gst_pad_query_position(GST_PAD (self->obj), (GstFormat*) &format, &cur))) {
|
||||
ret = PyList_New(2);
|
||||
PyList_SetItem(ret, 0, PyLong_FromLongLong(cur));
|
||||
PyList_SetItem(ret, 2, pyg_enum_from_gtype (GST_TYPE_FORMAT, format ));
|
||||
PyList_SetItem(ret, 1, pyg_enum_from_gtype (GST_TYPE_FORMAT, format ));
|
||||
} else {
|
||||
Py_INCREF(Py_None);
|
||||
ret = Py_None;
|
||||
|
@ -704,7 +704,7 @@ _wrap_gst_pad_query_duration (PyGObject *self, PyObject *args)
|
|||
if ((gst_pad_query_duration(GST_PAD (self->obj), (GstFormat*) &format, &cur))) {
|
||||
ret = PyList_New(2);
|
||||
PyList_SetItem(ret, 0, PyLong_FromLongLong(cur));
|
||||
PyList_SetItem(ret, 2, pyg_enum_from_gtype (GST_TYPE_FORMAT, format ));
|
||||
PyList_SetItem(ret, 1, pyg_enum_from_gtype (GST_TYPE_FORMAT, format ));
|
||||
} else {
|
||||
Py_INCREF(Py_None);
|
||||
ret = Py_None;
|
||||
|
|
Loading…
Reference in a new issue