summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-17 15:37:52 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-17 15:37:52 +0100
commitf8d0f773070e8ac498ff408d35cf9e5daa8f3aa3 (patch)
tree026905d85689d004b1da2225ecb841de649f0e8d /dvbdevice.c
parent9cd835b35e7dda160740efc9a03a2d05326a459a (diff)
downloadvdr-f8d0f773070e8ac498ff408d35cf9e5daa8f3aa3.tar.gz
vdr-f8d0f773070e8ac498ff408d35cf9e5daa8f3aa3.tar.bz2
Fixed asserting there is a live programme if the primary device is bonded with a device that starts a recording on a different band
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 7a6c7508..62f7c753 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.58 2012/01/16 12:52:01 kls Exp $
+ * $Id: dvbdevice.c 2.59 2012/01/17 15:16:12 kls Exp $
*/
#include "dvbdevice.h"
@@ -502,6 +502,8 @@ void cDvbTuner::SetChannel(const cChannel *Channel)
tunerStatus = tsIdle;
ResetToneAndVoltage();
}
+ if (bondedTuner && device->IsPrimaryDevice())
+ cDevice::PrimaryDevice()->DelLivePids(); // 'device' is const, so we must do it this way
}
bool cDvbTuner::Locked(int TimeoutMs)