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).
This commit is contained in:
Klaus Schmidinger
2006-06-11 18:00:00 +02:00
parent 21f3eaf6c9
commit 2bb3251354
5 changed files with 15 additions and 8 deletions

View File

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