1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed using MIN_LOG_INTERVAL

This commit is contained in:
Klaus Schmidinger 2005-12-04 13:56:50 +01:00
parent dbb09c5ba1
commit 506b0de497

View File

@ -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) {