From 2d3fa1416f5904ceb0b40a6466b11c619f1db6ad Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 15 Jan 2012 14:31:47 +0100 Subject: [PATCH] Fixed frozen live view with device bonding in case the bonded master is used for live viewing --- CONTRIBUTORS | 1 + HISTORY | 2 ++ dvbdevice.c | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index fc5ee499..2a3d8588 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -271,6 +271,7 @@ Uwe Scheffler for his help in keeping 'channels.conf.cable' and 'channels.conf.terr' up to date for helping to test new DVB-T handling for reporting a bug in switching the video format in the Setup/DVB menu + for reporting a problem with frozen live view in conjunction with device bonding Matjaz Thaler for improving AC3 decoding when replaying DVDs diff --git a/HISTORY b/HISTORY index 3f4949a5..18fa7071 100644 --- a/HISTORY +++ b/HISTORY @@ -6833,3 +6833,5 @@ Video Disk Recorder Revision History replayed. - Fixed wrongfully displaying the length of a recording in the title of the replay progress display. +- Fixed frozen live view with device bonding in case the bonded master is used for + live viewing (reported by Uwe Scheffler). diff --git a/dvbdevice.c b/dvbdevice.c index 80bbb010..39153970 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.55 2012/01/14 10:45:33 kls Exp $ + * $Id: dvbdevice.c 2.56 2012/01/15 14:31:47 kls Exp $ */ #include "dvbdevice.h" @@ -487,7 +487,7 @@ void cDvbTuner::SetChannel(const cChannel *Channel) t->SetChannel(NULL); } } - else if (!BondedMaster->device->Receiving()) + else if (strcmp(GetBondingParams(Channel), BondedMaster->GetBondingParams()) != 0) BondedMaster->SetChannel(Channel); } cMutexLock MutexLock(&mutex);