mirror of
https://github.com/Motion-Project/motion.git
synced 2026-02-23 01:56:18 -05:00
Revise criteria on shot counter. Closes #153
This commit is contained in:
@@ -133,7 +133,7 @@ static void mlp_ring_process(ctx_dev *cam)
|
||||
|
||||
cam->current_image = &cam->imgs.image_ring[cam->imgs.ring_out];
|
||||
|
||||
if (cam->current_image->shot < cam->conf->framerate) {
|
||||
if (cam->current_image->shot <= cam->conf->framerate) {
|
||||
if (cam->motapp->conf->log_level >= DBG) {
|
||||
mlp_ring_process_debug(cam);
|
||||
}
|
||||
@@ -254,7 +254,7 @@ static void mlp_detected(ctx_dev *cam)
|
||||
|
||||
mlp_detected_trigger(cam);
|
||||
|
||||
if (cam->current_image->shot < conf->framerate) {
|
||||
if (cam->current_image->shot <= conf->framerate) {
|
||||
if ((conf->stream_motion == true) &&
|
||||
(cam->motapp->conf->setup_mode == false) &&
|
||||
(cam->current_image->shot != 1)) {
|
||||
|
||||
Reference in New Issue
Block a user