2008-04-24 Stefan Kost <ensonic@users.sf.net>
+ * gst/gstregistrybinary.c:
+ Add a warning of we hit unhandled factories when saving.
+ More debug logging detail, but move to LOG category.
+
+2008-04-24 Stefan Kost <ensonic@users.sf.net>
+
* gst/gstregistry.c:
Tell the *truth* when improving the documentation.
goto fail;
}
}
- GST_DEBUG ("Save plugin '%s' with %d features", plugin->desc.name,
+ GST_DEBUG ("Save plugin '%s' with %d feature(s)", plugin->desc.name,
pe->nfeatures);
gst_plugin_feature_list_free (plugin_features);
unpack_string (*in, factory->longdesc);
}
#endif
+ else {
+ GST_WARNING ("unhandled factory type : %s", G_OBJECT_TYPE_NAME (feature));
+ goto fail;
+ }
feature->rank = pf->rank;
unpack_const_string (*in, plugin->desc.source);
unpack_const_string (*in, plugin->desc.package);
unpack_const_string (*in, plugin->desc.origin);
- GST_LOG ("read strings for '%s'", plugin->desc.name);
+ GST_LOG ("read strings for name='%s'", plugin->desc.name);
+ GST_LOG (" desc.description='%s'", plugin->desc.description);
+ GST_LOG (" filename='%s'", plugin->filename);
+ GST_LOG (" desc.version='%s'", plugin->desc.version);
+ GST_LOG (" desc.license='%s'", plugin->desc.license);
+ GST_LOG (" desc.source='%s'", plugin->desc.source);
+ GST_LOG (" desc.package='%s'", plugin->desc.package);
+ GST_LOG (" desc.origin='%s'", plugin->desc.origin);
plugin->basename = g_path_get_basename (plugin->filename);
/* Takes ownership of plugin */
gst_registry_add_plugin (registry, plugin);
- GST_INFO ("Added plugin '%s' plugin with %d features from binary registry",
+ GST_DEBUG ("Added plugin '%s' plugin with %d features from binary registry",
plugin->desc.name, pe->nfeatures);
for (i = 0; i < pe->nfeatures; i++) {
if (!gst_registry_binary_load_feature (registry, in, plugin->desc.name)) {