mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
gst/pygstvalue.c: FixedList -> Array
Original commit message from CVS: * gst/pygstvalue.c: FixedList -> Array * gst/gst.defs: Updating defs file.
This commit is contained in:
parent
4d6a998b9d
commit
cb954fd6d9
4 changed files with 17 additions and 15 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-07-20 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/pygstvalue.c:
|
||||
FixedList -> Array
|
||||
* gst/gst.defs:
|
||||
Updating defs file.
|
||||
|
||||
2005-07-18 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.override: misc fixes for change in gst_pad_get_parent()
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 6f9b691adc2a0300598311671dd7c4d9d2035afa
|
||||
Subproject commit 694de4dbf4827f372321f0634643a254d7edd986
|
17
gst/gst.defs
17
gst/gst.defs
|
@ -962,7 +962,9 @@
|
|||
(c-name "gst_element_seek")
|
||||
(return-type "gboolean")
|
||||
(parameters
|
||||
'("GstSeekType" "seek_type")
|
||||
'("GstSeekType" "seek_method")
|
||||
'("GstFormat" "seek_format")
|
||||
'("GstSeekType" "seek_flags")
|
||||
'("guint64" "offset")
|
||||
)
|
||||
)
|
||||
|
@ -2433,10 +2435,11 @@
|
|||
)
|
||||
)
|
||||
|
||||
(define-function message_new_application
|
||||
(c-name "gst_message_new_application")
|
||||
(define-function message_new_custom
|
||||
(c-name "gst_message_new_custom")
|
||||
(return-type "GstMessage*")
|
||||
(parameters
|
||||
'("GstMessageType" "type")
|
||||
'("GstObject*" "src")
|
||||
'("GstStructure*" "structure")
|
||||
)
|
||||
|
@ -6056,14 +6059,6 @@
|
|||
)
|
||||
)
|
||||
|
||||
(define-function type_is_fixed
|
||||
(c-name "gst_type_is_fixed")
|
||||
(return-type "gboolean")
|
||||
(parameters
|
||||
'("GType" "type")
|
||||
)
|
||||
)
|
||||
|
||||
(define-function value_is_fixed
|
||||
(c-name "gst_value_is_fixed")
|
||||
(return-type "gboolean")
|
||||
|
|
|
@ -77,7 +77,7 @@ pygst_value_as_pyobject(const GValue *value, gboolean copy_boxed)
|
|||
pygst_value_as_pyobject
|
||||
(gst_value_list_get_value (value, i), copy_boxed));
|
||||
}
|
||||
} else if (GST_VALUE_HOLDS_FIXED_LIST (value)) {
|
||||
} else if (GST_VALUE_HOLDS_ARRAY (value)) {
|
||||
int i, len;
|
||||
len = gst_value_list_get_size (value);
|
||||
ret = PyTuple_New (len);
|
||||
|
@ -134,7 +134,7 @@ pygst_value_init_for_pyobject (GValue *value, PyObject *obj)
|
|||
}
|
||||
} else if (PyTuple_Check (obj)) {
|
||||
PyErr_Clear ();
|
||||
t = GST_TYPE_FIXED_LIST;
|
||||
t = GST_TYPE_ARRAY;
|
||||
} else if (PyList_Check (obj)) {
|
||||
PyErr_Clear ();
|
||||
t = GST_TYPE_LIST;
|
||||
|
@ -230,7 +230,7 @@ pygst_value_from_pyobject (GValue *value, PyObject *obj)
|
|||
} else if (PyTuple_Check (obj)) {
|
||||
gint i, len;
|
||||
PyErr_Clear ();
|
||||
VALUE_TYPE_CHECK (value, GST_TYPE_FIXED_LIST);
|
||||
VALUE_TYPE_CHECK (value, GST_TYPE_ARRAY);
|
||||
len = PyTuple_Size (obj);
|
||||
for (i = 0; i < len; i++) {
|
||||
PyObject *o;
|
||||
|
|
Loading…
Reference in a new issue