Fixed the call to SetVideoFormat() in cDvbDevice::cDvbDevice() (parameter is _bool_)

This commit is contained in:
Klaus Schmidinger 2005-02-20 11:06:51 +01:00
parent c6aa52c204
commit f038aaefc8
2 changed files with 4 additions and 3 deletions

View File

@ -3416,7 +3416,7 @@ Video Disk Recorder Revision History
- Added missing reset of the 'repacker' to cTS2PES::Clear() (thanks to Marco
Schlüßler for reporting this one).
2005-02-19: Version 1.3.22
2005-02-20: Version 1.3.22
- Removed some unneeded code and fixed access to unallocated memory in
cEvent::FixEpgBugs() (thanks to Wolfgang Rohdewald).
@ -3428,3 +3428,4 @@ Video Disk Recorder Revision History
problems on NPTL systems (thanks to Chris Warren for pointing this out).
- Increased POLLTIMEOUTS_BEFORE_DEVICECLEAR in transfer.c to 6 to avoid problems
with the larger buffer reserve (thanks to Marco Schlüßler).
- Fixed the call to SetVideoFormat() in cDvbDevice::cDvbDevice() (parameter is _bool_).

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.121 2005/02/19 11:52:44 kls Exp $
* $Id: dvbdevice.c 1.122 2005/02/20 11:05:50 kls Exp $
*/
#include "dvbdevice.h"
@ -402,7 +402,7 @@ cDvbDevice::cDvbDevice(int n)
// Video format:
SetVideoFormat(Setup.VideoFormat ? VIDEO_FORMAT_16_9 : VIDEO_FORMAT_4_3);
SetVideoFormat(Setup.VideoFormat);
// We only check the devices that must be present - the others will be checked before accessing them://XXX