diff --git a/libs/ardour/midi_stretch.cc b/libs/ardour/midi_stretch.cc index 9cd1321a12..585e0a07b2 100644 --- a/libs/ardour/midi_stretch.cc +++ b/libs/ardour/midi_stretch.cc @@ -84,7 +84,9 @@ MidiStretch::run (boost::shared_ptr r) boost::shared_ptr new_src = boost::dynamic_pointer_cast(nsrcs[0]); assert(new_src); - new_src->load_model(true, true); + Glib::Mutex::Lock sl (new_src->mutex ()); + + new_src->load_model(false, true); boost::shared_ptr new_model = new_src->model(); new_model->start_write();