summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-07-21 15:05:20 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-07-21 15:05:20 +0200
commita1663a36125cd7b73162104aecd619653c625cc5 (patch)
treeac9337c2ba04b5f6e81d4bfce7c562f8b6de1bb4 /eit.c
parent593013c94c97b82485c895a717591a15086497f2 (diff)
downloadvdr-a1663a36125cd7b73162104aecd619653c625cc5.tar.gz
vdr-a1663a36125cd7b73162104aecd619653c625cc5.tar.bz2
Fixed detection of Premiere NVOD channel links
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index e1e47f48..cc2d0863 100644
--- a/eit.c
+++ b/eit.c
@@ -8,7 +8,7 @@
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
*
- * $Id: eit.c 1.123 2007/06/10 12:51:05 kls Exp $
+ * $Id: eit.c 1.124 2007/07/21 14:58:04 kls Exp $
*/
#include "eit.h"
@@ -197,7 +197,10 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo
link->SetName(linkName, "", "");
}
else if (Setup.UpdateChannels >= 4) {
- link = Channels.NewChannel(channel, linkName, "", "", ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId());
+ cChannel *transponder = channel;
+ if (channel->Tid() != ld->getTransportStreamId())
+ channel = Channels.GetByTransponderID(linkID);
+ link = Channels.NewChannel(transponder, linkName, "", "", ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId());
//XXX patFilter->Trigger();
}
if (link) {