X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fhistogram%2Fhistogram.C;h=f16e3fd4f46a771db8f1f4b24b27da0339fad9c4;hb=a76213673ecbfe4d860fb20de1b79ebc0d99c004;hp=523c863f3e0bc142c8b372dbde030f44c147a737;hpb=686bc04a488847170d80ec603f8c33962a7aa928;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/histogram/histogram.C b/cinelerra-5.1/plugins/histogram/histogram.C index 523c863f..f16e3fd4 100644 --- a/cinelerra-5.1/plugins/histogram/histogram.C +++ b/cinelerra-5.1/plugins/histogram/histogram.C @@ -446,9 +446,6 @@ int HistogramMain::process_buffer(VFrame *frame, frame_rate, use_opengl); -// Apply histogram in hardware - if(use_opengl) return run_opengl(); - this->input = frame; this->output = frame; if( !engine ) @@ -494,12 +491,11 @@ int HistogramMain::process_buffer(VFrame *frame, // config.gamma[HISTOGRAM_BLUE], // config.high_input[HISTOGRAM_BLUE]); - +// Apply histogram in hardware + if(use_opengl) return run_opengl(); // Apply histogram engine->process_packages(HistogramEngine::APPLY, input, 0); - - return 0; }