summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rw-r--r--dvbdevice.c4
3 files changed, 7 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index fc6b5a22..54fffd7a 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1195,3 +1195,6 @@ Sean Carlos <seanc@libero.it>
Laurence Abbott <laz@club-burniston.co.uk>
for fixing setting 'synced' in cRemux when recording radio channels
+
+Patrick Gleichmann <patrick@feedface.com>
+ for fixing the default quality value when grabbing a JPEG image
diff --git a/HISTORY b/HISTORY
index a787e333..e30bbdfd 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3276,3 +3276,5 @@ Video Disk Recorder Revision History
doesn't work with the selected audio languages. It also doesn't appear to
work with some DVB cards (esp. the Siemens DVB-S Rev 1.3).
- Fixed a possible race condition in cDevice::Action() (thanks to Mattias Grönlund).
+- Fixed the default quality value when grabbing a JPEG image (thanks to Patrick
+ Gleichmann).
diff --git a/dvbdevice.c b/dvbdevice.c
index e2532a03..42c51444 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.111 2005/01/06 14:48:45 kls Exp $
+ * $Id: dvbdevice.c 1.112 2005/01/07 15:54:52 kls Exp $
*/
#include "dvbdevice.h"
@@ -544,7 +544,7 @@ bool cDvbDevice::GrabImage(const char *FileName, bool Jpeg, int Quality, int Siz
}
if (Quality < 0)
- Quality = 255; //XXX is this 'best'???
+ Quality = 100;
isyslog("grabbing to %s (%s %d %d %d)", FileName, Jpeg ? "JPEG" : "PNM", Quality, vm.width, vm.height);
FILE *f = fopen(FileName, "wb");