summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG1.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-23 16:50:31 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-23 16:50:31 +0200
commit27c6111ebf2e94af6e93c35879efd310861bb08e (patch)
tree0961e4f36553f056c0bbf825dece27444d166e79 /src/fig/FIG1.cpp
parent234702919ee1129e40fec356db3f6a1c7c5db70a (diff)
downloaddabmux-27c6111ebf2e94af6e93c35879efd310861bb08e.tar.gz
dabmux-27c6111ebf2e94af6e93c35879efd310861bb08e.tar.bz2
dabmux-27c6111ebf2e94af6e93c35879efd310861bb08e.zip
Add warning about primary component labels
Diffstat (limited to 'src/fig/FIG1.cpp')
-rw-r--r--src/fig/FIG1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fig/FIG1.cpp b/src/fig/FIG1.cpp
index 86c717e..8f41239 100644
--- a/src/fig/FIG1.cpp
+++ b/src/fig/FIG1.cpp
@@ -145,6 +145,9 @@ FillStatus FIG1_4::fill(uint8_t *buf, size_t max_size)
auto service = getService(*component, ensemble->services);
+ /* We check in the config parser if the primary component has
+ * a label, which is forbidden since V2.1.1 */
+
if (not (*component)->label.long_label().empty() ) {
if ((*service)->getType(ensemble) == subchannel_type_t::Audio) {