tools/gst-inspect.c: Properly print enum values.

Original commit message from CVS:
* tools/gst-inspect.c: (print_signal_info):
Properly print enum values.
This commit is contained in:
Wim Taymans 2006-06-12 08:51:20 +00:00
parent 7334cbd200
commit da908556e1
2 changed files with 8 additions and 0 deletions

View file

@ -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),

View 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);