Issue #3197 Add RECORD to Event_Close_Mode time
This commit is contained in:
parent
b71db319a0
commit
33f98a0d40
|
@ -1979,7 +1979,7 @@ bool Monitor::Analyse() {
|
|||
Debug(2, "Have event %" PRIu64 " in mocord", event->Id());
|
||||
if (section_length
|
||||
&& ( ( timestamp->tv_sec - video_store_data->recording.tv_sec ) >= section_length )
|
||||
&& ( (function == MOCORD && (event_close_mode != CLOSE_TIME)) || ! ( timestamp->tv_sec % section_length ) )
|
||||
&& ( ( ( (function == MOCORD) || (function == RECORD) ) && (event_close_mode != CLOSE_TIME)) || ! ( timestamp->tv_sec % section_length ) )
|
||||
) {
|
||||
|
||||
Info("%s: %03d - Closing event %" PRIu64 ", section end forced %d - %d = %d >= %d",
|
||||
|
|
Loading…
Reference in New Issue