# HG changeset patch # User Chris Cannam # Date 1147698277 0 # Node ID 4170b21773cf08b1c9b0004b24298f769cfa906d # Parent c30728d5625c58dae94f65c2a6f54e4512d2ee10 * a bit more debug output tidying diff -r c30728d5625c -r 4170b21773cf plugin/LADSPAPluginFactory.cpp --- 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::iterator i = toUnload.begin(); i != toUnload.end(); ++i) { - unloadLibrary(*i); + if (*i != PluginIdentifier::BUILTIN_PLUGIN_SONAME) { + unloadLibrary(*i); + } } } diff -r c30728d5625c -r 4170b21773cf transform/FeatureExtractionPluginTransform.cpp --- 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()) {