summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-03 14:47:37 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-02-03 14:47:37 +0100
commit4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd (patch)
treed4213454364e5b414e63c2e2671269aefdd5497c /src/DabMultiplexer.cpp
parent3e5ce23aefb42a07f3b44086fe872f2de54e2804 (diff)
downloaddabmux-4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd.tar.gz
dabmux-4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd.tar.bz2
dabmux-4ee1e821f2ea6d7cd3c30d6cff2e631bc7f89dfd.zip
Make EDI fragment interleaver less bursty
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index 97336d1..a86a1c7 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -716,6 +716,11 @@ void DabMultiplexer::mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs
// Apply PFT layer to AF Packet (Reed Solomon FEC and Fragmentation)
vector<edi::PFTFragment> edi_fragments = edi_pft.Assemble(edi_afpacket);
+ if (edi_conf.verbose) {
+ fprintf(stderr, "EDI number of PFT fragment before interleaver %zu\n",
+ edi_fragments.size());
+ }
+
if (edi_conf.interleaver_enabled()) {
edi_fragments = edi_interleaver.Interleave(edi_fragments);
}