From: Good Guy Date: Sun, 27 May 2018 18:26:30 +0000 (-0600) Subject: fix for missing lv2 config update X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=f3ab8166b4ee39bd518e7ddce28648f74e072673;p=goodguy%2Fhistory.git fix for missing lv2 config update --- diff --git a/cinelerra-5.1/cinelerra/pluginlv2client.C b/cinelerra-5.1/cinelerra/pluginlv2client.C index f327da81..d5c385b0 100644 --- a/cinelerra-5.1/cinelerra/pluginlv2client.C +++ b/cinelerra-5.1/cinelerra/pluginlv2client.C @@ -287,7 +287,8 @@ void PluginLV2Client::process_buffer(int size) int PluginLV2Client::process_realtime(int64_t size, Samples *input_ptr, Samples *output_ptr) { - load_configuration(); + if( load_configuration() ) + update_lv2(); init_buffer(size); load_buffer(size, &input_ptr, 1); process_buffer(size); @@ -297,7 +298,8 @@ int PluginLV2Client::process_realtime(int64_t size, int PluginLV2Client::process_realtime(int64_t size, Samples **input_ptr, Samples **output_ptr) { - load_configuration(); + if( load_configuration() ) + update_lv2(); init_buffer(size); load_buffer(size, input_ptr, PluginClient::total_in_buffers); process_buffer(size);