From f038aaefc84aa0695102dca7c30537b20fd2fa21 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 20 Feb 2005 11:06:51 +0100 Subject: [PATCH] Fixed the call to SetVideoFormat() in cDvbDevice::cDvbDevice() (parameter is _bool_) --- HISTORY | 3 ++- dvbdevice.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index e6664941..1dd31404 100644 --- a/HISTORY +++ b/HISTORY @@ -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_). diff --git a/dvbdevice.c b/dvbdevice.c index 83469339..c937428e 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.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