summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-10-12 11:23:10 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-10-12 11:23:10 +0200
commitadf0dac2c38a6773ec4925045551fad47488dd66 (patch)
treefdc6913add9a9887eb9cfccbb3f47d18c53b40de /eit.c
parent1caa78a3e7456a2be71526fb0db151f3e3519dc9 (diff)
downloadvdr-adf0dac2c38a6773ec4925045551fad47488dd66.tar.gz
vdr-adf0dac2c38a6773ec4925045551fad47488dd66.tar.bz2
Now also checking the source (in addition to the transponder) when setting the system time from the TDT
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index a3cf3413..e5fa3014 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 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;