Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
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-camogm
Commits
4d24f0a2
Commit
4d24f0a2
authored
Mar 02, 2017
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not limit segment duration in fast recording mode
parent
7963a1f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
camogm.c
src/camogm.c
+1
-1
No files found.
src/camogm.c
View file @
4d24f0a2
...
@@ -593,7 +593,7 @@ int sendImageFrame(camogm_state *state)
...
@@ -593,7 +593,7 @@ int sendImageFrame(camogm_state *state)
return
-
CAMOGM_FRAME_CHANGED
;
// not yet checking for the FPS
return
-
CAMOGM_FRAME_CHANGED
;
// not yet checking for the FPS
}
}
// check if file duration (in seconds) exceeded ,-CAMOGM_FRAME_CHANGED will trigger a new segment
// check if file duration (in seconds) exceeded ,-CAMOGM_FRAME_CHANGED will trigger a new segment
if
((
state
->
segment_duration
>
0
)
&&
if
(
!
state
->
rawdev_op
&&
(
state
->
segment_duration
>
0
)
&&
((
state
->
this_frame_params
[
port
].
timestamp_sec
-
state
->
frame_params
[
port
].
timestamp_sec
)
>
state
->
segment_duration
))
{
((
state
->
this_frame_params
[
port
].
timestamp_sec
-
state
->
frame_params
[
port
].
timestamp_sec
)
>
state
->
segment_duration
))
{
D3
(
fprintf
(
debug_file
,
"sendImageFrame:10: segment duration in seconds exceeded
\n
"
));
D3
(
fprintf
(
debug_file
,
"sendImageFrame:10: segment duration in seconds exceeded
\n
"
));
return
-
CAMOGM_FRAME_CHANGED
;
return
-
CAMOGM_FRAME_CHANGED
;
...
...
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