Merge branch 'master' of github.com:ZoneMinder/zoneminder
This commit is contained in:
commit
f60f91c834
|
@ -1659,7 +1659,7 @@ bool Monitor::Analyse() {
|
||||||
Info("%s: %03d - Left alarm state (%" PRIu64 ") - %d(%d) images",
|
Info("%s: %03d - Left alarm state (%" PRIu64 ") - %d(%d) images",
|
||||||
name, image_count, event->Id(), event->Frames(), event->AlarmFrames());
|
name, image_count, event->Id(), event->Frames(), event->AlarmFrames());
|
||||||
//if ( function != MOCORD || event_close_mode == CLOSE_ALARM || event->Cause() == SIGNAL_CAUSE )
|
//if ( function != MOCORD || event_close_mode == CLOSE_ALARM || event->Cause() == SIGNAL_CAUSE )
|
||||||
if ( function != MOCORD || event_close_mode == CLOSE_ALARM ) {
|
if ( ( function != MOCORD && function != RECORD ) || event_close_mode == CLOSE_ALARM ) {
|
||||||
shared_data->state = state = IDLE;
|
shared_data->state = state = IDLE;
|
||||||
Info("%s: %03d - Closing event %" PRIu64 ", alarm end%s",
|
Info("%s: %03d - Closing event %" PRIu64 ", alarm end%s",
|
||||||
name, image_count, event->Id(), (function==MOCORD)?", section truncated":"");
|
name, image_count, event->Id(), (function==MOCORD)?", section truncated":"");
|
||||||
|
|
Loading…
Reference in New Issue