diff --git a/src/zm_event.h b/src/zm_event.h index 9d6c0f8c0..2a51e65fa 100644 --- a/src/zm_event.h +++ b/src/zm_event.h @@ -66,7 +66,7 @@ protected: initialised = true; timestamp_on_capture = (bool)config.Item( ZM_TIMESTAMP_ON_CAPTURE ); - bulk_frame_interval = (bool)config.Item( ZM_BULK_FRAME_INTERVAL ); + bulk_frame_interval = (int)config.Item( ZM_BULK_FRAME_INTERVAL ); } public: diff --git a/src/zm_monitor.h b/src/zm_monitor.h index 8a7b2e7b7..5767c13ce 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -153,7 +153,7 @@ protected: create_analysis_images = (bool)config.Item( ZM_CREATE_ANALYSIS_IMAGES ); blend_alarmed_images = (bool)config.Item( ZM_BLEND_ALARMED_IMAGES ); timestamp_on_capture = (bool)config.Item( ZM_TIMESTAMP_ON_CAPTURE ); - bulk_frame_interval = (bool)config.Item( ZM_BULK_FRAME_INTERVAL ); + bulk_frame_interval = (int)config.Item( ZM_BULK_FRAME_INTERVAL ); } public: