summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-07 15:56:11 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-07 15:56:11 +0100
commit4162bff1e773ffa9b86304faeffb4399f838553f (patch)
treea2acc9e3d496598f548d5433b5966003f95855e9 /dvbdevice.c
parent7326f697b6fa691dd728d2302bf53333534017e4 (diff)
downloadvdr-4162bff1e773ffa9b86304faeffb4399f838553f.tar.gz
vdr-4162bff1e773ffa9b86304faeffb4399f838553f.tar.bz2
Fixed the default quality value when grabbing a JPEG image
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
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");