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 --- CONTRIBUTORS | 3 +++ HISTORY | 6 +++++- eit.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f9d390f5..548e8b75 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3017,6 +3017,9 @@ Torsten Lang for suggesting to increase the size of the TS buffer to 5MB and that of the Recorder buffer to 20MB to better handle HD recordings for fixing setting the video format in the dvbhdffdevice + for reporting a problem with setting the system time from the TDT in case devices + are tuned to the same transponder on different sources, and these broadcast different + time data Christian Ruppert for some improvements to the Makefiles diff --git a/HISTORY b/HISTORY index 39a6bede..0b41dfa0 100644 --- a/HISTORY +++ b/HISTORY @@ -7920,7 +7920,7 @@ Video Disk Recorder Revision History - Fixed cleaning up old EPG events in case no epg data file is given (reported by Dave Pickles). -2013-10-11: Version 2.1.2 +2013-10-12: Version 2.1.2 - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Fixed displaying DVB subtitles (thanks to Rolf Ahrenberg for helping to debug and @@ -7986,3 +7986,7 @@ Video Disk Recorder Revision History - Updated the Italian OSD texts (thanks to Diego Pierotto). - Fixed writing group separators to channels.conf that contain a comma (reported by Eike Edener). +- Now also checking the source (in addition to the transponder) when setting the + system time from the TDT, which avoids problems in case devices are tuned to the + same transponder on different sources, and these broadcast different time data + (reported by Torsten Lang). 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