X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fthreshold%2Fthreshold.C;h=e7e510ed6ac1304fd92f755a70db6d12813394da;hb=ae9b00c3f960e5bd9f74a9d9103e332f4c288ab4;hp=ad68519830ef042fc89489cf7a402f7ad45c624b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/threshold/threshold.C b/cinelerra-5.1/plugins/threshold/threshold.C index ad685198..e7e510ed 100644 --- a/cinelerra-5.1/plugins/threshold/threshold.C +++ b/cinelerra-5.1/plugins/threshold/threshold.C @@ -155,10 +155,10 @@ int ThresholdMain::process_buffer(VFrame *frame, get_framerate(), use_opengl); - if(use_opengl) return run_opengl(); - send_render_gui(frame); + if(use_opengl) return run_opengl(); + if(!threshold_engine) threshold_engine = new ThresholdEngine(this); threshold_engine->process_packages(frame);