From adf0dac2c38a6773ec4925045551fad47488dd66 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 12 Oct 2013 11:23:10 +0200 Subject: Now also checking the source (in addition to the transponder) when setting the system time from the TDT --- eit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eit.c') diff --git a/eit.c b/eit.c index a3cf3413..e5fa3014 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 3.1 2013/08/23 10:52:27 kls Exp $ + * $Id: eit.c 3.2 2013/10/12 11:10:11 kls Exp $ */ #include "eit.h" @@ -406,7 +406,7 @@ void cEitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } break; case 0x14: { - if (Setup.SetSystemTime && Setup.TimeTransponder && ISTRANSPONDER(Transponder(), Setup.TimeTransponder)) + if (Setup.SetSystemTime && Setup.TimeSource == Source() && Setup.TimeTransponder && ISTRANSPONDER(Transponder(), Setup.TimeTransponder)) cTDT TDT(Data); } break; -- cgit v1.2.3