projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re/open mixer window fixes
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
automation.h
diff --git
a/cinelerra-5.1/cinelerra/automation.h
b/cinelerra-5.1/cinelerra/automation.h
index 615a9d55197f3b19cda11d376bb4803c4d6f1e28..e25b6376c9d1d26720c57d50d405029a32f4b0ae 100644
(file)
--- a/
cinelerra-5.1/cinelerra/automation.h
+++ b/
cinelerra-5.1/cinelerra/automation.h
@@
-45,14
+45,14
@@
CLAMP(value, 0, 100); \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
value = 0; \
CLAMP(value, 0, 100); \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
value = 0; \
- else if (autogrouptype == AUTOGROUPTYPE_SPEED && value <
0.001
) \
- value =
0.001
;
+ else if (autogrouptype == AUTOGROUPTYPE_SPEED && value <
SPEED_MIN
) \
+ value =
SPEED_MIN
;
#define AUTOMATIONVIEWCLAMPS(value, autogrouptype) \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
value = 0; \
#define AUTOMATIONVIEWCLAMPS(value, autogrouptype) \
if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \
value = 0; \
- else if (autogrouptype == AUTOGROUPTYPE_SPEED && value <
0
) \
- value =
0
;
+ else if (autogrouptype == AUTOGROUPTYPE_SPEED && value <
SPEED_MIN
) \
+ value =
SPEED_MIN
;
class Automation
class Automation