diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 2c9e2380..8490ca33 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3113,3 +3113,7 @@ Dominique Plu Matti Lehtimäki for translating OSD texts to the Finnish language + +Siegfried Bosch + for fixing a possible "Channel not available" if a recording starts on a system with + bonded devices diff --git a/HISTORY b/HISTORY index 489c61a6..00e74a84 100644 --- a/HISTORY +++ b/HISTORY @@ -7742,3 +7742,5 @@ Video Disk Recorder Revision History of the plugin source. - The parameters PATH and NAME to the --dirnames command line option may now be left empty to use the default values if only ENC shall be set. +- Fixed a possible "Channel not available" if a recording starts on a system with + bonded devices (thanks to Siegfried Bosch). diff --git a/dvbdevice.c b/dvbdevice.c index cd017a2d..0ec29ae9 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 2.84 2013/03/07 09:42:29 kls Exp $ + * $Id: dvbdevice.c 2.85 2013/03/12 10:08:34 kls Exp $ */ #include "dvbdevice.h" @@ -426,7 +426,7 @@ bool cDvbTuner::BondingOk(const cChannel *Channel, bool ConsiderOccupied) const cString BondingParams = GetBondingParams(Channel); do { if (t->device->Priority() > IDLEPRIORITY || ConsiderOccupied && t->device->Occupied()) { - if (strcmp(BondingParams, t->GetBondingParams()) != 0) + if (strcmp(BondingParams, t->GetBondedMaster()->GetBondingParams()) != 0) return false; } t = t->bondedTuner;