tools/gst-inspect.c: Print a string instead of 'unknown type' for GValueArray properties
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 8 Nov 2006 11:41:13 +0000 (11:41 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Wed, 8 Nov 2006 11:41:13 +0000 (11:41 +0000)
Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info):
Print a string instead of 'unknown type' for GValueArray properties

ChangeLog
tools/gst-inspect.c

index 5f2c866..bddfccd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * docs/random/draft-missing-plugins.txt:
index a3f1445..5cb5f3a 100644 (file)
@@ -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));