From de472d4b7f674cd24c4dafa30ca42bd73665e4f8 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 21 Feb 2018 16:40:08 +0100 Subject: Let FIGs fail more gently in case of errors --- src/fig/FIG0_3.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/fig/FIG0_3.cpp') diff --git a/src/fig/FIG0_3.cpp b/src/fig/FIG0_3.cpp index 9362a78..5698236 100644 --- a/src/fig/FIG0_3.cpp +++ b/src/fig/FIG0_3.cpp @@ -85,10 +85,11 @@ FillStatus FIG0_3::fill(uint8_t *buf, size_t max_size) if (subchannel == ensemble->subchannels.end()) { etiLog.log(error, - "Subchannel %i does not exist for component " - "of service %i\n", - (*componentFIG0_3)->subchId, (*componentFIG0_3)->serviceId); - throw MuxInitException(); + "FIG0/3: Subchannel %i does not exist " + "for component of service %i", + (*componentFIG0_3)->subchId, + (*componentFIG0_3)->serviceId); + continue; } if ((*subchannel)->type != subchannel_type_t::Packet) -- cgit v1.2.3