diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-19 15:33:37 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-19 15:33:37 +0200 |
commit | ab4ceb29a033f8a3cc051d5ea9a6f20ca6e75f8a (patch) | |
tree | befea69b48e6187abae6b836b51c823e76846763 /eitscan.c | |
parent | 16f3d3fc5d2f883241147db6ed9622a58f73b7c0 (diff) | |
download | vdr-ab4ceb29a033f8a3cc051d5ea9a6f20ca6e75f8a.tar.gz vdr-ab4ceb29a033f8a3cc051d5ea9a6f20ca6e75f8a.tar.bz2 |
Implemented gaps in channel numbering
Diffstat (limited to 'eitscan.c')
-rw-r--r-- | eitscan.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: eitscan.c 1.8 2002/10/05 13:44:35 kls Exp $ + * $Id: eitscan.c 1.9 2002/10/19 11:48:02 kls Exp $ */ #include "eitscan.h" @@ -63,7 +63,7 @@ void cEITScanner::Process(void) ch = 1; numTransponders = 0; } - cChannel *Channel = Channels.GetByNumber(ch); + cChannel *Channel = Channels.GetByNumber(ch, 1); if (Channel) { if (!Device->ProvidesChannel(Channel)) break; @@ -75,7 +75,7 @@ void cEITScanner::Process(void) break; } } - ch++; + ch = Channel->Number() + 1; } } } |