include frame_type in debug message

This commit is contained in:
Isaac Connor 2020-11-13 12:43:31 -05:00
parent 08a8155b47
commit 23f27d5a11
1 changed files with 2 additions and 2 deletions

View File

@ -706,8 +706,8 @@ void Event::AddFrame(Image *image, struct timeval timestamp, int score, Image *a
or or
( fps and (frame_data.size() > fps) ) ( fps and (frame_data.size() > fps) )
) { ) {
Debug(1, "Adding %d frames to DB because write_to_db:%d or frames > analysis fps %f or BULK", Debug(1, "Adding %d frames to DB because write_to_db:%d or frames > analysis fps %f or BULK(%d)",
frame_data.size(), write_to_db, fps); frame_data.size(), write_to_db, fps, (frame_type==BULK));
WriteDbFrames(); WriteDbFrames();
last_db_frame = frames; last_db_frame = frames;