X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fthreshold%2Fthreshold.C;fp=cinelerra-5.1%2Fplugins%2Fthreshold%2Fthreshold.C;h=e7e510ed6ac1304fd92f755a70db6d12813394da;hb=53f919f88484c8611457fbcd552f6931218cc219;hp=ad68519830ef042fc89489cf7a402f7ad45c624b;hpb=83cdf330ba14342487a08d72e25ef29736d41100;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);