1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed the default quality value when grabbing a JPEG image

This commit is contained in:
Klaus Schmidinger 2005-01-07 15:56:11 +01:00
parent 7326f697b6
commit 4162bff1e7
3 changed files with 7 additions and 2 deletions

View File

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

View File

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

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.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");