/*
* CINELERRA
* Copyright (C) 2008-2013 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
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;