Added missing VID_DURATION variable declaration