projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fullscreen tweaks, vwdw refresh frame scale, cleanup
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
chromakeyhsv
/
chromakey.sl
diff --git
a/cinelerra-5.1/plugins/chromakeyhsv/chromakey.sl
b/cinelerra-5.1/plugins/chromakeyhsv/chromakey.sl
index 25ca2d041b1a80266c8715257e8298a010828c98..51cd1f3453f3fc434a4580a1b68dbbea62c25d55 100644
(file)
--- a/
cinelerra-5.1/plugins/chromakeyhsv/chromakey.sl
+++ b/
cinelerra-5.1/plugins/chromakeyhsv/chromakey.sl
@@
-41,10
+41,10
@@
void main()
/* Hue wrap */
if(color2.r <= hue_key - tolerance_in * 180.0)
/* Hue wrap */
if(color2.r <= hue_key - tolerance_in * 180.0)
- color2.r += 360;
+ color2.r += 360
.0
;
else
if(color2.r >= hue_key + tolerance_in * 180.0)
else
if(color2.r >= hue_key + tolerance_in * 180.0)
- color2.r -= 360;
+ color2.r -= 360
.0
;
/* Hue is completely out of range */
if (tolerance == 0.0)
/* Hue is completely out of range */
if (tolerance == 0.0)