Fixed inserted frame types.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@925 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
6e74128e97
commit
60a4537184
|
@ -285,7 +285,7 @@ void Event::AddFrame( Image *image, struct timeval timestamp, int score, Image *
|
|||
|
||||
if ( db_frame )
|
||||
{
|
||||
const char *frame_type = score>0?"Normal":(score<0?"Bulk":"Alarm");
|
||||
const char *frame_type = score>0?"Alarm":(score<0?"Bulk":"Normal");
|
||||
|
||||
Debug( 1, ( "Adding frame %d to DB", frames ));
|
||||
static char sql[BUFSIZ];
|
||||
|
|
Loading…
Reference in New Issue