From e8162a421dcad3fca432aaf76c15a42c863a02f9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 7 Sep 2024 18:22:19 +0200 Subject: [PATCH] LV2: Log connect-optional ports --- libs/ardour/lv2_plugin.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 1c9608e865..082b46a989 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -841,9 +841,7 @@ LV2Plugin::init(const void* c_plugin, samplecnt_t rate) } else if (lilv_port_has_property(_impl->plugin, port, _world.lv2_connectionOptional)) { flags |= PORT_OTHOPT; // unknown data type but connection optional } else { - error << string_compose( - "LV2: \"%1\" port %2 has no known data type", - lilv_node_as_string(_impl->name), i) << endmsg; + error << string_compose("LV2: \"%1\" port %2 has unsupported or unknown data type", lilv_node_as_string(_impl->name), i) << endmsg; throw failed_constructor(); } @@ -3956,7 +3954,7 @@ LV2PluginInfo::discover (boost::function