diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-11 09:14:22 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-11 09:14:22 +0200 |
commit | d324b2de882be794d2107c1ab945e79f71018fec (patch) | |
tree | ed8e1a507c17c96cc8ff8666f26997e0f1c2fb64 | |
parent | 99876fdab3362a4e09935b1a4c1ffe0a48366664 (diff) | |
download | vdr-d324b2de882be794d2107c1ab945e79f71018fec.tar.gz vdr-d324b2de882be794d2107c1ab945e79f71018fec.tar.bz2 |
Reduced logging for the SVDRP GRAB command1.4.1
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | config.h | 6 | ||||
-rw-r--r-- | dvbdevice.c | 4 | ||||
-rw-r--r-- | svdrp.c | 4 |
5 files changed, 14 insertions, 7 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f5ea22f5..8bbb5f22 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -573,6 +573,7 @@ Helmut Auer <vdr@helmutauer.de> message is being displayed didn't work for reporting a problem with the "Press any key on the RC unit" step when learning LIRC remote control codes + for suggesting to reduce the logging for the SVDRP GRAB command Jeremy Hall <jhall@UU.NET> for fixing an incomplete initialization of the filter parameters in eit.c @@ -4776,3 +4776,9 @@ Video Disk Recorder Revision History - Now switching to non-VPS timers' channels 60 seconds before the timer starts (if a free device is available), to allow for the updating of EPG data and CA descriptors before the actual recording starts. + +2006-06-11: Version 1.4.1 + +- Changed the log messages when grabbing an image from 'isyslog()' to 'dsyslog()' + so that they can be suppressed in normal operation mode to avoid clogging the + log file in case this function is used frequently (suggested by Helmut Auer). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.259 2006/05/28 15:04:08 kls Exp $ + * $Id: config.h 1.260 2006/06/11 08:57:35 kls Exp $ */ #ifndef __CONFIG_H @@ -21,8 +21,8 @@ // VDR's own version number: -#define VDRVERSION "1.4.0-3" -#define VDRVERSNUM 10400 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.4.1" +#define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: diff --git a/dvbdevice.c b/dvbdevice.c index fc57c5b0..9ae8dfaf 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.158 2006/05/28 15:05:03 kls Exp $ + * $Id: dvbdevice.c 1.159 2006/06/11 09:03:55 kls Exp $ */ #include "dvbdevice.h" @@ -570,7 +570,7 @@ uchar *cDvbDevice::GrabImage(int &Size, bool Jpeg, int Quality, int SizeX, int S if (Quality < 0) Quality = 100; - isyslog("grabbing to %s %d %d %d", Jpeg ? "JPEG" : "PNM", Quality, vm.width, vm.height); + dsyslog("grabbing to %s %d %d %d", Jpeg ? "JPEG" : "PNM", Quality, vm.width, vm.height); if (Jpeg) { // convert to JPEG: result = RgbToJpeg(mem, vm.width, vm.height, Size, Quality); @@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.96 2006/06/03 09:17:17 kls Exp $ + * $Id: svdrp.c 1.97 2006/06/11 09:04:36 kls Exp $ */ #include "svdrp.h" @@ -779,7 +779,7 @@ void cSVDRP::CmdGRAB(const char *Option) int fd = open(FileName, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC, DEFFILEMODE); if (fd >= 0) { if (safe_write(fd, Image, ImageSize) == ImageSize) { - isyslog("grabbed image to %s", FileName); + dsyslog("grabbed image to %s", FileName); Reply(250, "Grabbed image %s", Option); } else { |