summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-06 10:25:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-06 10:25:42 +0200
commit962596f4abc3790ac0f3f317079a3362210fff8f (patch)
treeb9428aea092f90731b389604fcc8540070dbf556 /eit.c
parentb7615a7ae144789da14d32019b2f86fc4bf6dcef (diff)
downloadvdr-962596f4abc3790ac0f3f317079a3362210fff8f.tar.gz
vdr-962596f4abc3790ac0f3f317079a3362210fff8f.tar.bz2
Modified channel handling; full DiSEqC support
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/eit.c b/eit.c
index 1e699300..444cf47c 100644
--- a/eit.c
+++ b/eit.c
@@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.52 2002/09/20 16:24:17 kls Exp $
+ * $Id: eit.c 1.53 2002/10/05 13:44:23 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -40,6 +40,7 @@
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
+#include "channels.h"
#include "config.h"
#include "libdtv/libdtv.h"
#include "videodir.h"
@@ -456,7 +457,7 @@ static void ReportEpgBugFixStats(bool Reset = false)
for (int c = 0; c < p->n; c++) {
cChannel *channel = Channels.GetByServiceID(p->serviceIDs[c]);
if (channel) {
- q += snprintf(q, sizeof(buffer) - (q - buffer), "%s%s", delim, channel->name);
+ q += snprintf(q, sizeof(buffer) - (q - buffer), "%s%s", delim, channel->Name());
delim = ", ";
}
}
@@ -768,7 +769,7 @@ void cSchedule::Dump(FILE *f, const char *Prefix) const
cChannel *channel = Channels.GetByServiceID(uServiceID);
if (channel)
{
- fprintf(f, "%sC %u %s\n", Prefix, uServiceID, channel->name);
+ fprintf(f, "%sC %u %s\n", Prefix, uServiceID, channel->Name());
for (cEventInfo *p = Events.First(); p; p = Events.Next(p))
p->Dump(f, Prefix);
fprintf(f, "%sc\n", Prefix);