mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
tools/gst-inspect.c: If possible print the element type of GValueArray properties.
Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info): If possible print the element type of GValueArray properties.
This commit is contained in:
parent
a31349a80e
commit
3d2df075e3
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* tools/gst-inspect.c: (print_element_properties_info):
|
||||
If possible print the element type of GValueArray properties.
|
||||
|
||||
2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gst/gstiterator.c:
|
||||
|
|
|
@ -544,7 +544,14 @@ print_element_properties_info (GstElement * element)
|
|||
n_print ("%-23.23s Pointer.", "");
|
||||
}
|
||||
} else if (param->value_type == G_TYPE_VALUE_ARRAY) {
|
||||
n_print ("%-23.23s Array of GValues", "");
|
||||
GParamSpecValueArray *pvarray = G_PARAM_SPEC_VALUE_ARRAY (param);
|
||||
|
||||
if (pvarray->element_spec) {
|
||||
n_print ("%-23.23s Array of GValues of type \"%s\"", "",
|
||||
g_type_name (pvarray->element_spec->value_type));
|
||||
} else {
|
||||
n_print ("%-23.23s Array of GValues", "");
|
||||
}
|
||||
} else if (GST_IS_PARAM_SPEC_FRACTION (param)) {
|
||||
GstParamSpecFraction *pfraction = GST_PARAM_SPEC_FRACTION (param);
|
||||
|
||||
|
|
Loading…
Reference in a new issue