summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-17 11:22:25 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-17 11:22:25 +0200
commitbdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a (patch)
tree53324537bd48256882cdd25e2d9c6c7003b47fbc /src/DabMux.cpp
parent5eb98cbc51135264ad0b82e0ba790df17f1d70c6 (diff)
downloaddabmux-bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a.tar.gz
dabmux-bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a.tar.bz2
dabmux-bdcf14ca3a83675cfc56f8656e7f7a5ea934ba3a.zip
EDI: add options, fix AF sequence, revision
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 20dc31d..854c311 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -331,6 +331,9 @@ int main(int argc, char *argv[])
edi_conf.enable_pft = pt_edi.get<bool>("enable_pft");
edi_conf.verbose = pt_edi.get<bool>("verbose");
+ edi_conf.fec = pt_edi.get<unsigned int>("fec");
+ edi_conf.chunk_len = pt_edi.get<unsigned int>("chunk_len", 207);
+
mux.set_edi_config(edi_conf);
#else
throw runtime_error("EDI output not compiled in");