Allow to clear LV2 plugin scan info
This commit is contained in:
parent
e658056cd7
commit
5b77e348e7
@ -1079,6 +1079,14 @@ PluginManager::get_ladspa_category (uint32_t plugin_id)
|
||||
void
|
||||
PluginManager::lv2_plugin (std::string const& uri, PluginScanLogEntry::PluginScanResult sr, std::string const& msg, bool reset)
|
||||
{
|
||||
if (reset && msg.empty ()) {
|
||||
PluginScanLog::iterator j = _plugin_scan_log.find (PSLEPtr (new PluginScanLogEntry (LV2, uri)));
|
||||
if (j != _plugin_scan_log.end ()) {
|
||||
_plugin_scan_log.erase (j);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
PSLEPtr psle (scan_log_entry (LV2, uri));
|
||||
if (reset) {
|
||||
psle->reset ();
|
||||
|
Loading…
Reference in New Issue
Block a user