Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-php-extension
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-php-extension
Commits
185e5c46
Commit
185e5c46
authored
Jun 28, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decreased maxahead
parent
bafac505
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
elphel_php.c
src/ext/elphel/elphel_php.c
+1
-1
No files found.
src/ext/elphel/elphel_php.c
View file @
185e5c46
...
@@ -2428,7 +2428,7 @@ PHP_FUNCTION(elphel_capture_range) {
...
@@ -2428,7 +2428,7 @@ PHP_FUNCTION(elphel_capture_range) {
long
frame
=
0
;
long
frame
=
0
;
long
duration
=
0
;
long
duration
=
0
;
long
this_frame
=
ELPHEL_GLOBALPARS
(
port
,
G_THIS_FRAME
);
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
;
long
ahead
,
frame_stop
;
if
(
zend_parse_parameters
(
ZEND_NUM_ARGS
()
TSRMLS_CC
,
"ll|ll"
,
&
port
,
&
port_mask
,
&
frame
,
&
duration
)
==
FAILURE
)
if
(
zend_parse_parameters
(
ZEND_NUM_ARGS
()
TSRMLS_CC
,
"ll|ll"
,
&
port
,
&
port_mask
,
&
frame
,
&
duration
)
==
FAILURE
)
RETURN_NULL
();
RETURN_NULL
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment