Merge branch 'master' into fix_zms_from_mp4

This commit is contained in:
Isaac Connor committed 2018-09-11 13:22:42 -04:00
commit f972df167b
1 file changed
+1 -1
+1 -1
View File
@@ -540,7 +540,7 @@ Debug(3, "Writing video");
if ( score < 0 )
score = 0;
bool db_frame = ( frame_type != BULK ) || ((frames%config.bulk_frame_interval)==0) || !frames;
bool db_frame = ( frame_type != BULK ) || (!frames) || ((frames%config.bulk_frame_interval)==0) ;
if ( db_frame ) {
Debug( 1, "Adding frame %d of type \"%s\" to DB", frames, Event::frame_type_names[frame_type] );