Merge branch 'section_length_when_modect' into storageareas

This commit is contained in:
Isaac Connor 2019-05-06 10:50:41 -04:00
commit 9469ce8c71
1 changed files with 5 additions and 0 deletions

View File

@ -1729,6 +1729,11 @@ bool Monitor::Analyse() {
); );
closeEvent(); closeEvent();
event = new Event(this, *timestamp, cause, noteSetMap); event = new Event(this, *timestamp, cause, noteSetMap);
shared_data->last_event = event->Id();
//set up video store data
snprintf(video_store_data->event_file, sizeof(video_store_data->event_file), "%s", event->getEventFile());
video_store_data->recording = event->StartTime();
} }
} // end if event } // end if event