gst/gstregistrybinary.c: Fix a typo in a debug message and revert change from yesterday as gst_registry_add_plugin() ...

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
Fix a typo in a debug message and revert change from yesterday as
gst_registry_add_plugin() will only fail if something is really wrong
already and we can't survive it anyway.
This commit is contained in:
Sebastian Dröge 2008-04-14 12:12:22 +00:00
parent 7518460315
commit 42a2ece0d2
3 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,11 @@
2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
* gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin):
Fix a typo in a debug message and revert change from yesterday as
gst_registry_add_plugin() will only fail if something is really wrong
already and we can't survive it anyway.
2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
* gst/gst.c: (init_post), (gst_deinit):

2
common

@ -1 +1 @@
Subproject commit bdc5172b0ba183be6d92e58cb51782c23e9f2127
Subproject commit f88ff852da7631ad2d0be835763da6d551a63883

View file

@ -697,7 +697,7 @@ gst_registry_binary_load_feature (GstRegistry * registry, gchar ** in,
}
if (!GST_IS_PLUGIN_FEATURE (feature)) {
GST_ERROR ("typename : '%s' is not a plgin feature", type_name);
GST_ERROR ("typename : '%s' is not a plugin feature", type_name);
goto fail;
}
@ -858,9 +858,7 @@ gst_registry_binary_load_plugin (GstRegistry * registry, gchar ** in)
plugin->basename = g_path_get_basename (plugin->filename);
if (!gst_registry_add_plugin (registry, plugin))
return FALSE;
gst_registry_add_plugin (registry, plugin);
GST_INFO ("Added plugin '%s' plugin with %d features from binary registry",
plugin->desc.name, pe->nfeatures);
for (i = 0; i < pe->nfeatures; i++) {