+2005-10-07 Michael Smith <msmith@fluendo.com>
+
+ * tools/gst-inspect.c:
+ Print out feature and plugin count at the end when printing out
+ all features.
+
+2005-10-04 Michael Smith <msmith@fluendo.com>
+
+ * gst/gsterror.c: (_gst_stream_errors_init):
+ Add another error string used in a few existing plugins.
+
+ * gst/gstplugin.c:
+ * gst/gstpluginfeature.c: (gst_plugin_feature_load):
+ * tools/gst-inspect.c: (print_element_info):
+ When a feature disappears from a plugin (and the feature exists in
+ the cached registry file), things went horribly wrong. This isn't a
+ complete fix, we should actually be removing the 'missing' features
+ from the features list when we load the actual plugin. That's not
+ yet implemented.
+
2005-10-04 Johan Dahlin <johan@gnome.org>
* check/gst/gstiterator.c: (GST_START_TEST):
-Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634
+Subproject commit fb4bd52a0a6e882bd8eb0ca836edd94d3fcaea42
static void
print_element_list (gboolean print_all)
{
+ int plugincount = 0, featurecount = 0;
GList *plugins, *orig_plugins;
orig_plugins = plugins = gst_default_registry_get_plugin_list ();
plugin = (GstPlugin *) (plugins->data);
plugins = g_list_next (plugins);
+ plugincount++;
orig_features = features =
gst_registry_get_feature_list_by_plugin (gst_registry_get_default (),
GstPluginFeature *feature;
feature = GST_PLUGIN_FEATURE (features->data);
+ featurecount++;
if (GST_IS_ELEMENT_FACTORY (feature)) {
GstElementFactory *factory;
}
gst_plugin_list_free (plugins);
+
+ g_print ("\nTotal plugins: %d\nTotal features: %d\n",
+ plugincount, featurecount);
}
static void