From: Wim Taymans Date: Tue, 26 Sep 2006 12:39:26 +0000 (+0000) Subject: tools/gst-inspect.c: Fix printing of flags to match the look of enums. X-Git-Tag: RELEASE-0_10_11~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ab0b397bb7c3ea6c45290cd0fdbf6e31a12c789;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 5adcad2..78373b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-09-26 Wim Taymans + + * 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 * gst/gstelementfactory.c: diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 5f1ebcb..a3f1445 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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++; }