From 7b048c63139f03d458458e91635ffcfae063c374 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 16 Nov 2020 08:55:05 +0100 Subject: Add EDI transport addressing to config --- src/DabMux.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/DabMux.cpp') diff --git a/src/DabMux.cpp b/src/DabMux.cpp index c4fb692..4ae607c 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -354,14 +354,15 @@ int main(int argc, char *argv[]) edi_conf.dest_port = pt_edi.get("port"); } - edi_conf.dump = pt_edi.get("dump", false); - edi_conf.enable_pft = pt_edi.get("enable_pft", false); - edi_conf.verbose = pt_edi.get("verbose", false); + edi_conf.dump = pt_edi.get("dump", false); + edi_conf.enable_pft = pt_edi.get("enable_pft", false); + edi_conf.verbose = pt_edi.get("verbose", false); + edi_conf.enable_transport_header = pt_edi.get("enable_transport_addressing", true); - edi_conf.fec = pt_edi.get("fec", 3); - edi_conf.chunk_len = pt_edi.get("chunk_len", 207); + edi_conf.fec = pt_edi.get("fec", 3); + edi_conf.chunk_len = pt_edi.get("chunk_len", 207); - double interleave_ms = pt_edi.get("interleave", 0); + double interleave_ms = pt_edi.get("interleave", 0); if (interleave_ms != 0.0) { if (interleave_ms < 0) { throw runtime_error("EDI output: negative interleave value is invalid."); -- cgit v1.2.3