mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Reduced logging for the SVDRP GRAB command
This commit is contained in:
parent
99876fdab3
commit
d324b2de88
@ -573,6 +573,7 @@ Helmut Auer <vdr@helmutauer.de>
|
|||||||
message is being displayed didn't work
|
message is being displayed didn't work
|
||||||
for reporting a problem with the "Press any key on the RC unit" step when learning
|
for reporting a problem with the "Press any key on the RC unit" step when learning
|
||||||
LIRC remote control codes
|
LIRC remote control codes
|
||||||
|
for suggesting to reduce the logging for the SVDRP GRAB command
|
||||||
|
|
||||||
Jeremy Hall <jhall@UU.NET>
|
Jeremy Hall <jhall@UU.NET>
|
||||||
for fixing an incomplete initialization of the filter parameters in eit.c
|
for fixing an incomplete initialization of the filter parameters in eit.c
|
||||||
|
6
HISTORY
6
HISTORY
@ -4776,3 +4776,9 @@ Video Disk Recorder Revision History
|
|||||||
- Now switching to non-VPS timers' channels 60 seconds before the timer starts
|
- 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
|
(if a free device is available), to allow for the updating of EPG data and CA
|
||||||
descriptors before the actual recording starts.
|
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).
|
||||||
|
6
config.h
6
config.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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
|
#ifndef __CONFIG_H
|
||||||
@ -21,8 +21,8 @@
|
|||||||
|
|
||||||
// VDR's own version number:
|
// VDR's own version number:
|
||||||
|
|
||||||
#define VDRVERSION "1.4.0-3"
|
#define VDRVERSION "1.4.1"
|
||||||
#define VDRVERSNUM 10400 // Version * 10000 + Major * 100 + Minor
|
#define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor
|
||||||
|
|
||||||
// The plugin API's version number:
|
// The plugin API's version number:
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "dvbdevice.h"
|
||||||
@ -570,7 +570,7 @@ uchar *cDvbDevice::GrabImage(int &Size, bool Jpeg, int Quality, int SizeX, int S
|
|||||||
if (Quality < 0)
|
if (Quality < 0)
|
||||||
Quality = 100;
|
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) {
|
if (Jpeg) {
|
||||||
// convert to JPEG:
|
// convert to JPEG:
|
||||||
result = RgbToJpeg(mem, vm.width, vm.height, Size, Quality);
|
result = RgbToJpeg(mem, vm.width, vm.height, Size, Quality);
|
||||||
|
4
svdrp.c
4
svdrp.c
@ -10,7 +10,7 @@
|
|||||||
* and interact with the Video Disk Recorder - or write a full featured
|
* and interact with the Video Disk Recorder - or write a full featured
|
||||||
* graphical interface that sits on top of an SVDRP connection.
|
* 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"
|
#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);
|
int fd = open(FileName, O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC, DEFFILEMODE);
|
||||||
if (fd >= 0) {
|
if (fd >= 0) {
|
||||||
if (safe_write(fd, Image, ImageSize) == ImageSize) {
|
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);
|
Reply(250, "Grabbed image %s", Option);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user