diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-08-27 08:42:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-08-27 08:42:31 +0200 |
commit | c2e2673629c0a721e721f64e0dbec85a02f7b013 (patch) | |
tree | 39516640af46e195a6a8f62e6a53a170cbf3bc64 | |
parent | 1305406f0a87a17a81c3c2eeead847fd8a9c3587 (diff) | |
download | vdr-c2e2673629c0a721e721f64e0dbec85a02f7b013.tar.gz vdr-c2e2673629c0a721e721f64e0dbec85a02f7b013.tar.bz2 |
Revoked the change to cDevice::GetDevice() that was introduced in version 1.4.1-21.4.2
-rw-r--r-- | HISTORY | 7 | ||||
-rw-r--r-- | config.h | 6 | ||||
-rw-r--r-- | device.c | 4 |
3 files changed, 12 insertions, 5 deletions
@@ -4888,3 +4888,10 @@ Video Disk Recorder Revision History by Petri Hintukainen). - Fixed handling "Ca Info" in case the CAM sends this again if the smart card is replaced with a different one. + +2006-08-27: Version 1.4.2 + +- Revoked the change to cDevice::GetDevice() that was introduced in version 1.4.1-2, + which made it prefer any device that's already receiving and doesn't require + detatching receivers. This change has caused some unwanted behavior, so further + testing is necessary. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.266 2006/08/14 09:49:22 kls Exp $ + * $Id: config.h 1.267 2006/08/26 14:16:34 kls Exp $ */ #ifndef __CONFIG_H @@ -21,8 +21,8 @@ // VDR's own version number: -#define VDRVERSION "1.4.1-5" -#define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.4.2" +#define VDRVERSNUM 10402 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.135 2006/08/12 11:33:34 kls Exp $ + * $Id: device.c 1.136 2006/08/26 14:11:03 kls Exp $ */ #include "device.h" @@ -292,7 +292,7 @@ cDevice *cDevice::GetDevice(const cChannel *Channel, int Priority, bool *NeedsDe // to their individual severity, where the one listed first will make the most // difference, because it results in the most significant bit of the result. uint imp = 0; - imp <<= 1; imp |= !device[i]->Receiving(true) || ndr; // use receiving devices if we don't need to detach existing receivers + imp <<= 1; imp |= !device[i]->Receiving() || ndr; // use receiving devices if we don't need to detach existing receivers imp <<= 1; imp |= device[i]->Receiving(); // avoid devices that are receiving imp <<= 1; imp |= device[i] == cTransferControl::ReceiverDevice(); // avoid the Transfer Mode receiver device imp <<= 8; imp |= min(max(device[i]->Priority() + MAXPRIORITY, 0), 0xFF); // use the device with the lowest priority (+MAXPRIORITY to assure that values -99..99 can be used) |