summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-17 17:15:47 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-17 17:15:47 +0100
commitfafba594214bf9c9bedb8c029623eb008fb78440 (patch)
tree87c80eecf22b3745796fdf1f13f8fa071d0fcf86 /src/ConfigParser.cpp
parent1cc0b27ba8effec0afcc35555a8bc325b8ed0f65 (diff)
downloaddabmux-fafba594214bf9c9bedb8c029623eb008fb78440.tar.gz
dabmux-fafba594214bf9c9bedb8c029623eb008fb78440.tar.bz2
dabmux-fafba594214bf9c9bedb8c029623eb008fb78440.zip
Send FIG0/14 only for enhancedpacket subchannels
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 1839316..eb30e3a 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -3,7 +3,7 @@
2011, 2012 Her Majesty the Queen in Right of Canada (Communications
Research Center Canada)
- Copyright (C) 2020
+ Copyright (C) 2022
Matthias P. Braendli, matthias.braendli@mpb.li
http://www.opendigitalradio.org
@@ -1077,8 +1077,8 @@ static void setup_subchannel_from_ptree(shared_ptr<DabSubchannel>& subchan,
subchan->type = subchannel_type_t::Packet;
subchan->bitrate = DEFAULT_PACKET_BITRATE;
- bool enhanced = (type == "enhancedpacket");
- subchan->input = make_shared<Inputs::PacketFile>(enhanced);
+ subchan->packet_enhanced = (type == "enhancedpacket");
+ subchan->input = make_shared<Inputs::PacketFile>(subchan->packet_enhanced);
}
else {
stringstream ss;