gst/gstregistrybinary.c: Fix a typo in a debug message and revert change from yesterd...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 14 Apr 2008 12:12:22 +0000 (12:12 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 14 Apr 2008 12:12:22 +0000 (12:12 +0000)
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.

ChangeLog
common
gst/gstregistrybinary.c

index b062e3a..7a03e2f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/common b/common
index bdc5172..f88ff85 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit bdc5172b0ba183be6d92e58cb51782c23e9f2127
+Subproject commit f88ff852da7631ad2d0be835763da6d551a63883
index 5eb2a15..e7d09cb 100644 (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++) {