From 2bb325135433521694b0a387a60225d7727a980e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 Jun 2006 18:00:00 +0200 Subject: 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). --- CONTRIBUTORS | 1 + HISTORY | 8 +++++++- config.h | 6 +++--- dvbdevice.c | 4 ++-- svdrp.c | 4 ++-- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f5ea22f..8bbb5f2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -573,6 +573,7 @@ Helmut Auer 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 for fixing an incomplete initialization of the filter parameters in eit.c diff --git a/HISTORY b/HISTORY index 2fa2f94..856803b 100644 --- a/HISTORY +++ b/HISTORY @@ -4753,7 +4753,7 @@ Video Disk Recorder Revision History - Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased the API version number - plugins will have to be recompiled. - Removed the call to pthread_setschedparam(childTid, SCHED_RR, 0) in thread.c, - because it caused a compiler warning with g++ 4.1.1 (reported by Ville Skyttä). + because it caused a compiler warning with post-2.4 glibc (reported by Ville Skyttä). Since the third parameter has to be non-null to have any effect, the call was presumably a NOP, anyway. - Fixed the 'clean-plugins' target in the Makefile to also remove additional @@ -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). diff --git a/config.h b/config.h index a68843a..9ee9471 100644 --- a/config.h +++ b/config.h @@ -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 fc57c5b..9ae8dfa 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); diff --git a/svdrp.c b/svdrp.c index 0f6060c..34f283f 100644 --- a/svdrp.c +++ b/svdrp.c @@ -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 { -- cgit v1.2.3