summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2005-06-15 08:41:49 +0000
committerdeva <deva>2005-06-15 08:41:49 +0000
commitc397f2dcdc399b43cf150f8000e711fc20613deb (patch)
tree1c7a68dbe9112f2c8430d8ff3c89d3ce2f7b6081
parentcc50a61331e0de5a0419bd52fb2edd628c479754 (diff)
*** empty log message ***R0_2_5
-rw-r--r--src/mainwindow.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 2845830..1493506 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.32 2005/06/15 08:41:49 deva
+ * *** empty log message ***
+ *
* Revision 1.31 2005/06/15 08:34:28 deva
* *** empty log message ***
*
@@ -319,7 +322,7 @@ void MainWindow::taskbar_update()
watchdog++;
if(recording) {
- if((watchdog % 300 == 0) || ((camera->getQueueLength() > 1000) && (watchdog % 10 == 0)))
+ if((watchdog % 300 == 0) || ((camera->getQueueLength() > 1000) && (watchdog % 50 == 0)))
info->log("Queue length: %d (active)", camera->getQueueLength());
gettimeofday(&time, NULL);
@@ -331,7 +334,7 @@ void MainWindow::taskbar_update()
m = s / 60;
s -= m * 60;
} else {
- if(watchdog % 300 == 0)
+ if((camera->getQueueLength() > 0) && (watchdog % 50 == 0))
info->log("Queue length: %d (passive)", camera->getQueueLength());
gettimeofday(&starttime, NULL);
}