mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 16:18:16 +00:00
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:
parent
7334cbd200
commit
da908556e1
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2006-06-12 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/gstinfo.c: (gst_debug_set_active),
|
* gst/gstinfo.c: (gst_debug_set_active),
|
||||||
|
|
|
@ -798,6 +798,9 @@ print_signal_info (GstElement * element)
|
||||||
if (G_TYPE_IS_FUNDAMENTAL (query->param_types[j])) {
|
if (G_TYPE_IS_FUNDAMENTAL (query->param_types[j])) {
|
||||||
g_print (",\n%s%s%s arg%d", _name, indent,
|
g_print (",\n%s%s%s arg%d", _name, indent,
|
||||||
g_type_name (query->param_types[j]), j);
|
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 {
|
} else {
|
||||||
g_print (",\n%s%s%s* arg%d", _name, indent,
|
g_print (",\n%s%s%s* arg%d", _name, indent,
|
||||||
g_type_name (query->param_types[j]), j);
|
g_type_name (query->param_types[j]), j);
|
||||||
|
|
Loading…
Reference in a new issue