X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fautomation.h;h=47df6eca0859b63ee6f2dc2ebc2fcf7504522462;hb=60f8df69db9ddd8148bfc41a17bb0955b52a45e6;hp=d9b3891c1969fb066a7928991bf754e59012da8f;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/automation.h b/cinelerra-5.1/cinelerra/automation.h index d9b3891c..47df6eca 100644 --- 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) \ - 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;