X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fhistogram%2Fhistogram.C;fp=cinelerra-5.1%2Fplugins%2Fhistogram%2Fhistogram.C;h=f16e3fd4f46a771db8f1f4b24b27da0339fad9c4;hp=523c863f3e0bc142c8b372dbde030f44c147a737;hb=53f919f88484c8611457fbcd552f6931218cc219;hpb=83cdf330ba14342487a08d72e25ef29736d41100 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; }