Commit 185e5c46 authored by Andrey Filippov's avatar Andrey Filippov

decreased maxahead

parent bafac505
......@@ -2428,7 +2428,7 @@ PHP_FUNCTION(elphel_capture_range) {
long frame = 0;
long duration=0;
long this_frame = ELPHEL_GLOBALPARS(port, G_THIS_FRAME);
long maxahead = PARS_FRAMES_MASK - 3; // -2?
long maxahead = PARS_FRAMES_MASK - 4; // 3; // -2?
long ahead, frame_stop;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|ll", &port, &port_mask, &frame, &duration) == FAILURE)
RETURN_NULL();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment