tools/gst-inspect.c: Properly print enum values.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 12 Jun 2006 08:51:20 +0000 (08:51 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 12 Jun 2006 08:51:20 +0000 (08:51 +0000)
Original commit message from CVS:
* tools/gst-inspect.c: (print_signal_info):
Properly print enum values.

ChangeLog
tools/gst-inspect.c

index fc2e5e4a4c95ddf9adb099f69f3bd7dc9a1e2c0d..6582872747fe53e5e5b106e52d58174cea7ed336 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-12  Wim Taymans  <wim@fluendo.com>
+
+       * tools/gst-inspect.c: (print_signal_info):
+       Properly print enum values.
+
 2006-06-12  Wim Taymans  <wim@fluendo.com>
 
        * gst/gstinfo.c: (gst_debug_set_active),
index 0a641d8c177fd170818cd8c4f28ed2679977ea7d..e161bcb1d7a38ed8a184bf594e0a31d12c80a3c9 100644 (file)
@@ -798,6 +798,9 @@ print_signal_info (GstElement * element)
         if (G_TYPE_IS_FUNDAMENTAL (query->param_types[j])) {
           g_print (",\n%s%s%s arg%d", _name, indent,
               g_type_name (query->param_types[j]), j);
+        } else if (G_TYPE_IS_ENUM (query->param_types[j])) {
+          g_print (",\n%s%s%s arg%d", _name, indent,
+              g_type_name (query->param_types[j]), j);
         } else {
           g_print (",\n%s%s%s* arg%d", _name, indent,
               g_type_name (query->param_types[j]), j);