From 64deff7486f2c12e03632b9151bf08041c35ca8e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 30 Dec 2020 21:22:33 -0500 Subject: [PATCH] include std::string don't include zm_video.h. Remove old videoWriter references --- src/zm_event.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/zm_event.h b/src/zm_event.h index 593e95056..ea88aadc8 100644 --- a/src/zm_event.h +++ b/src/zm_event.h @@ -34,11 +34,11 @@ #include #include #include +#include #include "zm.h" #include "zm_image.h" #include "zm_stream.h" -#include "zm_video.h" #include "zm_packet.h" #include "zm_storage.h" @@ -94,7 +94,6 @@ class Event { std::string alarm_file; VideoStore *videoStore; - VideoWriter* videowriter; std::string video_name; std::string video_file; int last_db_frame; @@ -133,11 +132,6 @@ class Event { const char *event_file, bool alarm_frame=false ) const; - bool WriteFrameVideo( - const Image *image, - const struct timeval timestamp, - VideoWriter* videow - ) const; void updateNotes(const StringSetMap &stringSetMap);