projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
automation.h
diff --git
a/cinelerra-5.1/cinelerra/automation.h
b/cinelerra-5.1/cinelerra/automation.h
index d9b3891c1969fb066a7928991bf754e59012da8f..47df6eca0859b63ee6f2dc2ebc2fcf7504522462 100644
(file)
--- a/
cinelerra-5.1/cinelerra/automation.h
+++ b/
cinelerra-5.1/cinelerra/automation.h
@@
-44,10
+44,14
@@
if (autogrouptype == AUTOGROUPTYPE_VIDEO_FADE) \
CLAMP(value, 0, 100); \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
if (autogrouptype == AUTOGROUPTYPE_VIDEO_FADE) \
CLAMP(value, 0, 100); \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
- value = 0;
+ value = 0; \
+ else if (autogrouptype == AUTOGROUPTYPE_SPEED && value < 0.001) \
+ value = 0.001;
#define AUTOMATIONVIEWCLAMPS(value, autogrouptype) \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
#define AUTOMATIONVIEWCLAMPS(value, autogrouptype) \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
+ value = 0; \
+ else if (autogrouptype == AUTOGROUPTYPE_SPEED && value < 0) \
value = 0;
value = 0;