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

This commit is contained in:
Klaus Schmidinger 2012-12-04 11:15:28 +01:00
parent 45a29931cb
commit 1e14401e74
3 changed files with 8 additions and 3 deletions

View File

@ -2631,6 +2631,9 @@ Sundararaj Reel <sundararaj.reel@googlemail.com>
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 <ajurik@quick.cz>
for reporting broken SI data on Czech/Slovak channels after changing the default

View File

@ -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).

5
eit.c
View File

@ -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 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)