summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-15 14:18:25 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-15 14:18:25 +0200
commit94c729a6fa45370e3b02c48db4d212b60026a4ad (patch)
tree49cbd9e168d3d6f4d7589e293f67e2402fc5c8fc /eit.c
parent50b77a6d4b6d71cc97fffb5f9a9486cc9320df42 (diff)
downloadvdr-94c729a6fa45370e3b02c48db4d212b60026a4ad.tar.gz
vdr-94c729a6fa45370e3b02c48db4d212b60026a4ad.tar.bz2
The "Update channels" parameter in the "Setup/DVB" menu has been extended to allow updating only the PIDs
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eit.c b/eit.c
index ccce4956..c33dbefc 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.115 2006/02/19 09:51:02 kls Exp $
+ * $Id: eit.c 1.116 2006/04/15 14:11:52 kls Exp $
*/
#include "eit.h"
@@ -180,10 +180,10 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
if (link != channel) { // only link to other channels, not the same one
//fprintf(stderr, "Linkage %s %4d %4d %5d %5d %5d %5d %02X '%s'\n", hit ? "*" : "", channel->Number(), link ? link->Number() : -1, SiEitEvent.getEventId(), ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId(), ld->getLinkageType(), linkName);//XXX
if (link) {
- if (Setup.UpdateChannels >= 1)
+ if (Setup.UpdateChannels == 1 || Setup.UpdateChannels >= 3)
link->SetName(linkName, "", "");
}
- else if (Setup.UpdateChannels >= 3) {
+ else if (Setup.UpdateChannels >= 4) {
link = Channels.NewChannel(channel, linkName, "", "", ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId());
//XXX patFilter->Trigger();
}