From 335024b082dbc3fdd5113eaaebf3be5720716d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 10 Jul 2009 19:27:21 +0100 Subject: [PATCH] tools: the plugin features listed by gst-inspect are typefinders, not types --- tools/gst-inspect.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index c879c7622b..a286ce82bd 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -1123,7 +1123,7 @@ print_plugin_features (GstPlugin * plugin) GList *features; gint num_features = 0; gint num_elements = 0; - gint num_types = 0; + gint num_typefinders = 0; gint num_indexes = 0; gint num_other = 0; @@ -1167,7 +1167,7 @@ print_plugin_features (GstPlugin * plugin) g_print ("%s: %s: no extensions\n", plugin->desc.name, gst_plugin_feature_get_name (feature)); - num_types++; + num_typefinders++; } else { n_print (" %s (%s)\n", gst_object_get_name (GST_OBJECT (feature)), g_type_name (G_OBJECT_TYPE (feature))); @@ -1180,8 +1180,8 @@ print_plugin_features (GstPlugin * plugin) n_print (" %d features:\n", num_features); if (num_elements > 0) n_print (" +-- %d elements\n", num_elements); - if (num_types > 0) - n_print (" +-- %d types\n", num_types); + if (num_typefinders > 0) + n_print (" +-- %d typefinders\n", num_typefinders); if (num_indexes > 0) n_print (" +-- %d indexes\n", num_indexes); if (num_other > 0)