From 19e8424cd38fde66961915d51bdffbf6611b7414 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 18 Jan 2017 21:25:15 +0100 Subject: Fix important EDI Timestamp issues First, use more servers, not only those from USNO that currenty show problems. Add a server from IETF and the github repository from the tz project that mirrors that file. Second, fix issues about parsing the bulletin and error handling. Third, run the bulletin update asynchronously once the mux runs, to avoid blocking it. --- src/DabMultiplexer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/DabMultiplexer.cpp') diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp index ff35c2f..51a67e7 100644 --- a/src/DabMultiplexer.cpp +++ b/src/DabMultiplexer.cpp @@ -640,8 +640,10 @@ void DabMultiplexer::mux_frame(std::vector >& outputs bool tist_enabled = m_pt.get("general.tist", false); if (tist_enabled and edi_conf.enabled()) { - edi_tagDETI.set_tai_utc_offset(m_clock_tai.get_offset()); edi_tagDETI.set_seconds(edi_time); + + // In case get_offset fails, we still want to update the EDI seconds + edi_tagDETI.set_tai_utc_offset(m_clock_tai.get_offset()); } } -- cgit v1.2.3