aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0_13.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-17 19:43:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-03-17 19:43:45 +0100
commita4bfb55fa0632b63de5b10142fe9f966b9e21ec6 (patch)
treea166c867a8dedc337cd34dae81f0f2945bc98fba /src/fig/FIG0_13.cpp
parentd2a4c375f1ef7af7c7bc4f02ad2dc0d919f2c488 (diff)
downloaddabmux-a4bfb55fa0632b63de5b10142fe9f966b9e21ec6.tar.gz
dabmux-a4bfb55fa0632b63de5b10142fe9f966b9e21ec6.tar.bz2
dabmux-a4bfb55fa0632b63de5b10142fe9f966b9e21ec6.zip
Remove xpadAppType_valid and handle Broadcast Website like MOT slideshow
Diffstat (limited to 'src/fig/FIG0_13.cpp')
-rw-r--r--src/fig/FIG0_13.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fig/FIG0_13.cpp b/src/fig/FIG0_13.cpp
index aa0be1e..d1d18c7 100644
--- a/src/fig/FIG0_13.cpp
+++ b/src/fig/FIG0_13.cpp
@@ -176,10 +176,7 @@ FillStatus FIG0_13::fill(uint8_t *buf, size_t max_size)
remaining -= sizeof(FIG0_13_app);
fig0->Length += sizeof(FIG0_13_app);
- if (m_transmit_programme and !ua.xpadAppType_valid) {
- throw MuxInitException("FIG0/13 combination unsupported");
- }
- else if (m_transmit_programme and ua.xpadAppType_valid) {
+ if (m_transmit_programme) {
const uint8_t dscty = 60; // TS 101 756 Table 2b (MOT)
const uint16_t xpadapp = htons((ua.xpadAppType << 8) | dscty);
/* xpad meaning