mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
Print out feature and plugin count at the end when printing out all features.
Original commit message from CVS: Print out feature and plugin count at the end when printing out all features. Also add a changelog entry which I'd written but not committed?
This commit is contained in:
parent
25a0f8c57f
commit
09fb8afea5
3 changed files with 27 additions and 1 deletions
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,23 @@
|
|||
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):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634
|
||||
Subproject commit fb4bd52a0a6e882bd8eb0ca836edd94d3fcaea42
|
|
@ -825,6 +825,7 @@ print_children_info (GstElement * element)
|
|||
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 ();
|
||||
|
@ -834,6 +835,7 @@ print_element_list (gboolean print_all)
|
|||
|
||||
plugin = (GstPlugin *) (plugins->data);
|
||||
plugins = g_list_next (plugins);
|
||||
plugincount++;
|
||||
|
||||
orig_features = features =
|
||||
gst_registry_get_feature_list_by_plugin (gst_registry_get_default (),
|
||||
|
@ -842,6 +844,7 @@ print_element_list (gboolean print_all)
|
|||
GstPluginFeature *feature;
|
||||
|
||||
feature = GST_PLUGIN_FEATURE (features->data);
|
||||
featurecount++;
|
||||
|
||||
if (GST_IS_ELEMENT_FACTORY (feature)) {
|
||||
GstElementFactory *factory;
|
||||
|
@ -898,6 +901,9 @@ print_element_list (gboolean print_all)
|
|||
}
|
||||
|
||||
gst_plugin_list_free (plugins);
|
||||
|
||||
g_print ("\nTotal plugins: %d\nTotal features: %d\n",
|
||||
plugincount, featurecount);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue