summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 3548f9d..2489797 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -866,6 +866,10 @@ run_modulator_state run_modulator(modulator_data& m)
running = 0;
ret = MOD_NORMAL_END;
}
+ } catch (fct_discontinuity_error& e) {
+ // The OutputUHD saw a FCT discontinuity
+ fprintf(stderr, "Stream discontinuity\n");
+ ret = MOD_AGAIN;
} catch (std::overflow_error& e) {
// The ZeroMQ input has overflowed its buffer
fprintf(stderr, "overflow error: %s\n", e.what());