close and reopen event when we hit section_length

This commit is contained in:
Isaac Connor 2019-05-03 09:41:29 -04:00
parent 75b4f4f2b3
commit f6b6daafab
1 changed files with 2 additions and 0 deletions

View File

@ -1725,6 +1725,8 @@ bool Monitor::Analyse() {
timestamp->tv_sec - video_store_data->recording.tv_sec,
section_length
);
closeEvent();
event = new Event(this, *timestamp, cause, noteSetMap);
}
} // end if event