diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-15 16:25:16 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-15 16:25:16 +0200 |
commit | 47cedcafa6302b8019bea46e3a529c2790705bd1 (patch) | |
tree | 55c2f6bba106a6d912758de5dcbea517b9a72b84 | |
parent | 3132ed535302f0f71a3a0149e2c60ee5aac94b34 (diff) | |
download | dabmux-47cedcafa6302b8019bea46e3a529c2790705bd1.tar.gz dabmux-47cedcafa6302b8019bea46e3a529c2790705bd1.tar.bz2 dabmux-47cedcafa6302b8019bea46e3a529c2790705bd1.zip |
Notice user on quit if frame limit reached
-rw-r--r-- | src/DabMux.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 1b4052d..d09fdd2 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -477,7 +477,10 @@ int main(int argc, char *argv[]) mgmt_server.update_ptree(pt); } } - etiLog.level(info) << "Goodbye"; + + if (limit) { + etiLog.level(info) << "Max number of ETI frames reached: " << currentFrame; + } } catch (const MuxInitException& except) { etiLog.level(error) << "Multiplex initialisation aborted: " << |