diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-03-07 14:41:45 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-03-07 14:41:45 +0100 |
commit | 9c1f56ec71a68e945ff7315ae710f6f9f03e8cc8 (patch) | |
tree | 671fff5d1d2d8fa1d42a60e7b8db83eb3be8cac6 /recorder.c | |
parent | 2dc3a3d399f7315df034c13fc63dc097683f1f97 (diff) | |
download | vdr-9c1f56ec71a68e945ff7315ae710f6f9f03e8cc8.tar.gz vdr-9c1f56ec71a68e945ff7315ae710f6f9f03e8cc8.tar.bz2 |
Avoiding too many consecutive "ring buffer overflow" messages
Diffstat (limited to 'recorder.c')
-rw-r--r-- | recorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recorder.c 1.8 2003/10/18 11:35:02 kls Exp $ + * $Id: recorder.c 1.9 2004/03/07 14:39:25 kls Exp $ */ #include <stdarg.h> @@ -102,7 +102,7 @@ void cRecorder::Receive(uchar *Data, int Length) { int p = ringBuffer->Put(Data, Length); if (p != Length && active) - esyslog("ERROR: ring buffer overflow (%d bytes dropped)", Length - p); + ringBuffer->ReportOverflow(Length - p); } void cRecorder::Action(void) |