diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-26 09:52:27 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-06-26 09:52:27 +0200 |
commit | 9f4230fe2977806e213b2747c9b7748763b99c0f (patch) | |
tree | ec397cb85fa505a13a7eb95485efcb5f43a9c630 /src | |
parent | a1e65c0695f35c7decfed3a48ef9ba195d0fbbef (diff) | |
download | dabmux-9f4230fe2977806e213b2747c9b7748763b99c0f.tar.gz dabmux-9f4230fe2977806e213b2747c9b7748763b99c0f.tar.bz2 dabmux-9f4230fe2977806e213b2747c9b7748763b99c0f.zip |
Fix components not appearing in RC
Diffstat (limited to 'src')
-rw-r--r-- | src/DabMultiplexer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp index 9ff28a3..489787f 100644 --- a/src/DabMultiplexer.cpp +++ b/src/DabMultiplexer.cpp @@ -284,13 +284,13 @@ void DabMultiplexer::prepare_services_components() component->subchId, component->serviceId); throw MuxInitException(); } - if ((*subchannel)->type != subchannel_type_t::Packet) continue; - component->packet.id = cur_packetid++; + if ((*subchannel)->type == subchannel_type_t::Packet) { + component->packet.id = cur_packetid++; + } rcs.enrol(component.get()); } - } void DabMultiplexer::prepare_data_inputs() |