# HG changeset patch # User Chris Cannam # Date 1593084006 -3600 # Node ID 652c5360e6823e2fd455ec8bfa8f486db3f014af # Parent 258e356b1a7bcef5cd307b603fe3f3f0166603d6 Ensure transforms are populated before instantiateDefaultPluginFor runs - otherwise if we have prior knowledge of a transform id, we can find ourselves trying to instantiate it before the plugin factory has heard of it and e.g. knows which server to use diff -r 258e356b1a7b -r 652c5360e682 transform/TransformFactory.cpp --- a/transform/TransformFactory.cpp Mon Jun 22 16:57:09 2020 +0100 +++ b/transform/TransformFactory.cpp Thu Jun 25 12:20:06 2020 +0100 @@ -803,6 +803,8 @@ TransformFactory::instantiateDefaultPluginFor(TransformId identifier, sv_samplerate_t rate) { + populateTransforms(); + Transform t; t.setIdentifier(identifier); if (rate == 0) rate = 44100.0;