tools/gst-inspect.c: Fix printing of flags to match the look of enums.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 26 Sep 2006 12:39:26 +0000 (12:39 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 26 Sep 2006 12:39:26 +0000 (12:39 +0000)
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.

ChangeLog
tools/gst-inspect.c

index 5adcad2..78373b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 5f1ebcb..a3f1445 100644 (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++;
           }