tools/gst-inspect.c: Fix printing of flags to match the look of enums.

Original commit message from CVS:
* tools/gst-inspect.c: (print_element_properties_info),
(print_signal_info):
Fix printing of flags to match the look of enums.
This commit is contained in:
Wim Taymans 2006-09-26 12:39:26 +00:00
parent 9b8bf01253
commit 2ab0b397bb
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2006-09-26 Wim Taymans <wim@fluendo.com>
* tools/gst-inspect.c: (print_element_properties_info),
(print_signal_info):
Fix printing of flags to match the look of enums.
2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstelementfactory.c:

View file

@ -456,7 +456,7 @@ print_element_properties_info (GstElement * element)
j = 0;
while (values[j].value_name) {
g_print ("\n%s%-23.23s %d) %-16s - %s", "",
g_print ("\n%s%-23.23s (%d): %-16s - %s", "",
_name, values[j].value, values[j].value_nick,
values[j].value_name);
j++;
@ -488,8 +488,9 @@ print_element_properties_info (GstElement * element)
j = 0;
while (values[j].value_name) {
g_print ("\n%s%-23.23s (0x%08x): \t%s", "",
_name, values[j].value, values[j].value_nick);
g_print ("\n%s%-23.23s (0x%08x): %-16s - %s", "",
_name, values[j].value, values[j].value_nick,
values[j].value_name);
j++;
}