print rank numerically as well
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 14 Apr 2004 16:14:39 +0000 (16:14 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 14 Apr 2004 16:14:39 +0000 (16:14 +0000)
Original commit message from CVS:
print rank numerically as well

ChangeLog
tools/gst-inspect.c

index d86e18ed251de2b2930a55370bf742c838c8aadd..c0db24f50f6b1daea07b0857ce27188d5aa1f6a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index ef93a33505142a61295a2810f8f1b2e911df957d..c11f62073d495d5720b30f08ad37f69abdf04f82 100644 (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);