summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp4
1 files changed, 3 insertions, 1 deletions
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<std::shared_ptr<DabOutput> >& 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());
}
}