rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git] / cinelerra-5.1 / cinelerra / automation.h
index d9b3891c1969fb066a7928991bf754e59012da8f..47df6eca0859b63ee6f2dc2ebc2fcf7504522462 100644 (file)
        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)           \
+               value = 0;                                              \
+       else if (autogrouptype == AUTOGROUPTYPE_SPEED && value < 0)     \
                value = 0;