changeset 118:4170b21773cf

* a bit more debug output tidying
author Chris Cannam
date Mon, 15 May 2006 13:04:37 +0000
parents c30728d5625c
children fda016f64f7c
files plugin/LADSPAPluginFactory.cpp transform/FeatureExtractionPluginTransform.cpp
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp	Fri May 12 14:40:43 2006 +0000
+++ b/plugin/LADSPAPluginFactory.cpp	Mon May 15 13:04:37 2006 +0000
@@ -361,8 +361,10 @@
     }
     
     if (!stillInUse) {
-	std::cerr << "LADSPAPluginFactory::releasePlugin: dll " << soname.toStdString() << " no longer in use, unloading" << std::endl;
-	unloadLibrary(soname);
+        if (soname != PluginIdentifier::BUILTIN_PLUGIN_SONAME) {
+            std::cerr << "LADSPAPluginFactory::releasePlugin: dll " << soname.toStdString() << " no longer in use, unloading" << std::endl;
+            unloadLibrary(soname);
+        }
     }
 
     std::cerr << "LADSPAPluginFactory::releasePlugin("
@@ -494,7 +496,9 @@
 
     for (std::vector<QString>::iterator i = toUnload.begin();
 	 i != toUnload.end(); ++i) {
-	unloadLibrary(*i);
+        if (*i != PluginIdentifier::BUILTIN_PLUGIN_SONAME) {
+            unloadLibrary(*i);
+        }
     }
 }
 
--- a/transform/FeatureExtractionPluginTransform.cpp	Fri May 12 14:40:43 2006 +0000
+++ b/transform/FeatureExtractionPluginTransform.cpp	Mon May 15 13:04:37 2006 +0000
@@ -96,9 +96,6 @@
         return;
     }
 
-    //!!! cope with plugins that request non-power-of-2 block sizes in
-    // the frequency domain!
-
     Vamp::Plugin::OutputList outputs = m_plugin->getOutputDescriptors();
 
     if (outputs.empty()) {