tools/gst-inspect.c: Print a string instead of 'unknown type' for GValueArray properties

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Print a string instead of 'unknown type' for GValueArray properties
This commit is contained in:
Jan Schmidt 2006-11-08 11:41:13 +00:00
parent d39810b520
commit d47c0843e4
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
* tools/gst-inspect.c: (print_element_properties_info):
Print a string instead of 'unknown type' for GValueArray properties
2006-11-08 Christian F.K. Schaller <christian@fluendo.com> 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
* docs/random/draft-missing-plugins.txt: * docs/random/draft-missing-plugins.txt:

View file

@ -509,6 +509,8 @@ print_element_properties_info (GstElement * element)
} else { } else {
n_print ("%-23.23s Pointer.", ""); n_print ("%-23.23s Pointer.", "");
} }
} else if (param->value_type == G_TYPE_VALUE_ARRAY) {
n_print ("%-23.23s Array of GValues", "");
} else { } else {
n_print ("%-23.23s Unknown type %ld \"%s\"", "", param->value_type, n_print ("%-23.23s Unknown type %ld \"%s\"", "", param->value_type,
g_type_name (param->value_type)); g_type_name (param->value_type));