From: Sebastian Dröge Date: Mon, 14 Apr 2008 12:12:22 +0000 (+0000) Subject: gst/gstregistrybinary.c: Fix a typo in a debug message and revert change from yesterd... X-Git-Tag: RELEASE-0_10_20~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42a2ece0d2372810b7cde5b3b0a88bb032915e67;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index b062e3a..7a03e2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-04-14 Sebastian Dröge + + * 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 * gst/gst.c: (init_post), (gst_deinit): diff --git a/common b/common index bdc5172..f88ff85 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit bdc5172b0ba183be6d92e58cb51782c23e9f2127 +Subproject commit f88ff852da7631ad2d0be835763da6d551a63883 diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c index 5eb2a15..e7d09cb 100644 --- a/gst/gstregistrybinary.c +++ b/gst/gstregistrybinary.c @@ -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++) {