summaryrefslogtreecommitdiff
path: root/eitscan.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-12 14:37:25 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-12 14:37:25 +0200
commit67e7f93d294ecd94114a2ae97232caf4452327f3 (patch)
treee568d168641c3cfec60100eef954900a091a8116 /eitscan.c
parentd2e0898d64e620886cc0621cc5cb0200767af701 (diff)
downloadvdr-67e7f93d294ecd94114a2ae97232caf4452327f3.tar.gz
vdr-67e7f93d294ecd94114a2ae97232caf4452327f3.tar.bz2
Now scanning new transponders before old ones, to make sure transponder changes are recognized
Diffstat (limited to 'eitscan.c')
-rw-r--r--eitscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eitscan.c b/eitscan.c
index 2b43e718..25b7115c 100644
--- a/eitscan.c
+++ b/eitscan.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: eitscan.c 2.1 2010/02/07 12:12:05 kls Exp $
+ * $Id: eitscan.c 2.2 2011/08/12 14:18:04 kls Exp $
*/
#include "eitscan.h"
@@ -133,12 +133,12 @@ void cEITScanner::Process(void)
if (Channels.Lock(false, 10)) {
if (!scanList) {
scanList = new cScanList;
- scanList->AddTransponders(&Channels);
if (transponderList) {
scanList->AddTransponders(transponderList);
delete transponderList;
transponderList = NULL;
}
+ scanList->AddTransponders(&Channels);
}
bool AnyDeviceSwitched = false;
for (int i = 0; i < cDevice::NumDevices(); i++) {