print rank numerically as well

Original commit message from CVS:
print rank numerically as well
This commit is contained in:
Thomas Vander Stichele 2004-04-14 16:14:39 +00:00
parent 726bbbf7c6
commit d4bfafcf63
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
* tools/gst-inspect.c: (print_element_info):
print numeric version of rank as well, since we added some - 1
rank values to elements
2004-04-13 David Schleef <ds@schleef.org>
* configure.ac: Disable various code when compiling for MinGW.

View file

@ -427,8 +427,9 @@ print_element_info (GstElementFactory * factory)
g_print (" Class:\t%s\n", factory->details.klass);
g_print (" Description:\t%s\n", factory->details.description);
g_print (" Author(s):\t%s\n", factory->details.author);
g_print (" Rank:\t\t%s\n",
get_rank_name (GST_PLUGIN_FEATURE (factory)->rank));
g_print (" Rank:\t\t%s (%d)\n",
get_rank_name (GST_PLUGIN_FEATURE (factory)->rank),
GST_PLUGIN_FEATURE (factory)->rank);
g_print ("\n");
output_hierarchy (G_OBJECT_TYPE (element), 0, &maxlevel);