From eabd968e79f9d24e49afca2db940eaab9ff52459 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 25 Jun 2019 10:51:46 +0200 Subject: Fix odr-zmq2edi multi-output --- src/zmq2edi/zmq2edi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/zmq2edi/zmq2edi.cpp b/src/zmq2edi/zmq2edi.cpp index a2daf49..3888d8a 100644 --- a/src/zmq2edi/zmq2edi.cpp +++ b/src/zmq2edi/zmq2edi.cpp @@ -169,7 +169,7 @@ static void add_edi_destination(void) } edi_conf.destinations.push_back(move(edi_destination)); - edi_destination.reset(); + edi_destination = std::make_shared(); source_port_set = false; source_addr_set = false; -- cgit v1.2.3 From 9f4230fe2977806e213b2747c9b7748763b99c0f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 26 Jun 2019 09:52:27 +0200 Subject: Fix components not appearing in RC --- src/DabMultiplexer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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() -- cgit v1.2.3