diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-27 09:02:09 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-27 09:02:09 +0200 |
commit | 0c27583ba914a465fa57b0740347c0c466f0ccff (patch) | |
tree | 837d55a51aebf37fca9ced82adead863cb3ac5cd | |
parent | c23d35e267d0127eaaf6e117b5546deb095d4bc4 (diff) | |
download | vdr-0c27583ba914a465fa57b0740347c0c466f0ccff.tar.gz vdr-0c27583ba914a465fa57b0740347c0c466f0ccff.tar.bz2 |
Removed the TUNER_LOCK_TIMEOUT in cDevice::AttachReceiver() since it caused more trouble than it fixed
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | device.c | 7 |
2 files changed, 4 insertions, 7 deletions
@@ -3717,7 +3717,7 @@ Video Disk Recorder Revision History functions to avoid problems on platforms that don't provide these (thanks to David Woodhouse for his help). -2005-08-26: Version 1.3.31 +2005-08-27: Version 1.3.31 - Added missing German OSD texts for 'Audio language'. - The Setup/CICAM menu now only contains the devices that actually have a CI and @@ -3730,3 +3730,5 @@ Video Disk Recorder Revision History - Fixed the EPG scan, so that it doesn't use the primary device if that is currently in Transfer-Mode from itself (thanks to Marcus Hilbrich for a bug report that lead to this). +- Removed the TUNER_LOCK_TIMEOUT in cDevice::AttachReceiver() since it caused more + trouble than it fixed. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.106 2005/08/21 08:56:49 kls Exp $ + * $Id: device.c 1.107 2005/08/27 09:01:09 kls Exp $ */ #include "device.h" @@ -139,7 +139,6 @@ int cPesAssembler::PacketSize(const uchar *data) // The default priority for non-primary devices: #define DEFAULTPRIORITY -1 -#define TUNER_LOCK_TIMEOUT 5000 // ms int cDevice::numDevices = 0; int cDevice::useDevice = 0; @@ -1186,10 +1185,6 @@ bool cDevice::AttachReceiver(cReceiver *Receiver) return false; if (Receiver->device == this) return true; - if (!HasLock(TUNER_LOCK_TIMEOUT)) { - esyslog("ERROR: device %d has no lock, can't attach receiver!", CardIndex() + 1); - return false; - } cMutexLock MutexLock(&mutexReceiver); for (int i = 0; i < MAXRECEIVERS; i++) { if (!receiver[i]) { |