summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-07-15 09:25:41 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-07-15 09:25:41 +0200
commit7e669371cadfc8ccb57ff8de42503e153ff3971a (patch)
treeba7e3ccbb962ba30fe4c9605e1a6267dd0b23788 /src
parent27326973988f4cc4dbf93b249b9819941d584f74 (diff)
downloaddabmux-7e669371cadfc8ccb57ff8de42503e153ff3971a.tar.gz
dabmux-7e669371cadfc8ccb57ff8de42503e153ff3971a.tar.bz2
dabmux-7e669371cadfc8ccb57ff8de42503e153ff3971a.zip
Fix FIG0/13 for packet services
Diffstat (limited to 'src')
-rw-r--r--src/ConfigParser.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index ee7d69f..1839316 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -830,7 +830,12 @@ void parse_ptree(
ua.xpadAppType = 16;
}
- component->audio.uaTypes.push_back(ua);
+ if (component->isPacketComponent(ensemble->subchannels)) {
+ component->packet.uaTypes.push_back(ua);
+ }
+ else {
+ component->audio.uaTypes.push_back(ua);
+ }
}
}
else {