From 1e14401e74a92026b81c633d9c86dc2038602b0c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 4 Dec 2012 11:15:28 +0100 Subject: [PATCH] Now always setting the TDT EIT filter, because otherwise when turning on using the transponder time in the Setup menu, it would only be used after the next restart of VDR --- CONTRIBUTORS | 3 +++ HISTORY | 3 +++ eit.c | 5 ++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 4f7c0b2e..09475d2d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2631,6 +2631,9 @@ Sundararaj Reel that might inadvertently be called with a 'char *' as the second argument on some compilers and cause a crash for reporting a possible memory leak in SI::StructureLoop::getNextAsPointer() + for making the TDT EIT filter always be set, because otherwise when turning on using + the transponder time in the Setup menu, it would only be used after the next restart + of VDR Ales Jurik for reporting broken SI data on Czech/Slovak channels after changing the default diff --git a/HISTORY b/HISTORY index 0e0ffe6a..1cd49954 100644 --- a/HISTORY +++ b/HISTORY @@ -7372,3 +7372,6 @@ Video Disk Recorder Revision History - The '7' and '9' keys now jump to the very beginning or end, respectively, of the recording, even if there is no mark set at that point (following a request from Andre Weidemann). +- Now always setting the TDT EIT filter, because otherwise when turning on using the + transponder time in the Setup menu, it would only be used after the next restart + of VDR (thanks to Sundararaj Reel). diff --git a/eit.c b/eit.c index dc63cce8..73c4fa9b 100644 --- a/eit.c +++ b/eit.c @@ -8,7 +8,7 @@ * Robert Schneider and Rolf Hakenes . * Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg . * - * $Id: eit.c 2.22 2012/12/04 09:33:20 kls Exp $ + * $Id: eit.c 2.23 2012/12/04 11:10:10 kls Exp $ */ #include "eit.h" @@ -367,8 +367,7 @@ time_t cEitFilter::disableUntil = 0; cEitFilter::cEitFilter(void) { Set(0x12, 0x40, 0xC0); // event info now&next actual/other TS (0x4E/0x4F), future actual/other TS (0x5X/0x6X) - if (Setup.SetSystemTime && Setup.TimeTransponder) - Set(0x14, 0x70); // TDT + Set(0x14, 0x70); // TDT } void cEitFilter::SetDisableUntil(time_t Time)