From a4bfb55fa0632b63de5b10142fe9f966b9e21ec6 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 17 Mar 2022 19:43:45 +0100 Subject: Remove xpadAppType_valid and handle Broadcast Website like MOT slideshow --- src/fig/FIG0_13.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/fig') 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 -- cgit v1.2.3