X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fautomation.h;h=b626d66ad9f42139cf6b3c1401124bfb1f76a582;hp=e25b6376c9d1d26720c57d50d405029a32f4b0ae;hb=0fd1b583cf9d14672c35f7369ba88388413be4f7;hpb=232ae3c6972c1740b6e1890ccce1264f2bb311f5 diff --git a/cinelerra-5.1/cinelerra/automation.h b/cinelerra-5.1/cinelerra/automation.h index e25b6376..b626d66a 100644 --- a/cinelerra-5.1/cinelerra/automation.h +++ b/cinelerra-5.1/cinelerra/automation.h @@ -43,8 +43,8 @@ value = INFINITYGAIN; \ if (autogrouptype == AUTOGROUPTYPE_VIDEO_FADE) \ CLAMP(value, 0, 100); \ - if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < 0) \ - value = 0; \ + if (autogrouptype == AUTOGROUPTYPE_ZOOM && value < ZOOM_MIN) \ + value = ZOOM_MIN; \ else if (autogrouptype == AUTOGROUPTYPE_SPEED && value < SPEED_MIN) \ value = SPEED_MIN;