summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-04 13:56:50 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-04 13:56:50 +0100
commit506b0de497f8abb407df3ff8a82d2253f8967c5d (patch)
tree8b5cb690a5f86355a3c9f0e837704933c79a09de
parentdbb09c5ba17e0a0070732a4ee78b93bd3c921704 (diff)
downloadvdr-506b0de497f8abb407df3ff8a82d2253f8967c5d.tar.gz
vdr-506b0de497f8abb407df3ff8a82d2253f8967c5d.tar.bz2
Fixed using MIN_LOG_INTERVAL
-rw-r--r--remux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remux.c b/remux.c
index 29aa9563..31abb69d 100644
--- a/remux.c
+++ b/remux.c
@@ -11,7 +11,7 @@
* The cRepacker family's code was originally written by Reinhard Nissl <rnissl@gmx.de>,
* and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de.
*
- * $Id: remux.c 1.49 2005/12/03 14:33:10 kls Exp $
+ * $Id: remux.c 1.50 2005/12/04 13:56:50 kls Exp $
*/
#include "remux.h"
@@ -123,7 +123,7 @@ cRepacker::cRepacker(void)
bool cRepacker::LogAllowed(void)
{
- bool Allowed = time(NULL) - lastLog > 10;
+ bool Allowed = time(NULL) - lastLog >= MIN_LOG_INTERVAL;
lastLog = time(NULL);
if (Allowed) {
if (suppressedLogMessages) {