projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update, color_space/range tweak, lv2 build fixes
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
histogram
/
histogram.C
diff --git
a/cinelerra-5.1/plugins/histogram/histogram.C
b/cinelerra-5.1/plugins/histogram/histogram.C
index 523c863f3e0bc142c8b372dbde030f44c147a737..f16e3fd4f46a771db8f1f4b24b27da0339fad9c4 100644
(file)
--- 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);
frame_rate,
use_opengl);
-// Apply histogram in hardware
- if(use_opengl) return run_opengl();
-
this->input = frame;
this->output = frame;
if( !engine )
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]);
// 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);
// Apply histogram
engine->process_packages(HistogramEngine::APPLY, input, 0);
-
-
return 0;
}
return 0;
}