From d47c0843e4854ea747e3c36538f9b25dbd85d03a Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 8 Nov 2006 11:41:13 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ tools/gst-inspect.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5f2c866643..bddfccd992 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-08 Jan Schmidt + + * 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 * docs/random/draft-missing-plugins.txt: diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index a3f1445b2e..5cb5f3ae83 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -509,6 +509,8 @@ print_element_properties_info (GstElement * element) } else { n_print ("%-23.23s Pointer.", ""); } + } else if (param->value_type == G_TYPE_VALUE_ARRAY) { + n_print ("%-23.23s Array of GValues", ""); } else { n_print ("%-23.23s Unknown type %ld \"%s\"", "", param->value_type, g_type_name (param->value_type));