aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/Edi.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-11-22 16:52:10 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-11-22 16:52:10 +0100
commit8e821c7f8ef72415d84e3f78270c1ae1a85a5304 (patch)
treef2763ff2e5d8ebf8f5b994a1af3b303215b442d4 /src/input/Edi.h
parentcf1ce1f08c0e49a0c6c818135971b201026258c2 (diff)
downloaddabmux-8e821c7f8ef72415d84e3f78270c1ae1a85a5304.tar.gz
dabmux-8e821c7f8ef72415d84e3f78270c1ae1a85a5304.tar.bz2
dabmux-8e821c7f8ef72415d84e3f78270c1ae1a85a5304.zip
EDI: do not fill logs with size mismatch entries
Diffstat (limited to 'src/input/Edi.h')
-rw-r--r--src/input/Edi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/Edi.h b/src/input/Edi.h
index ca465bd..cf4c576 100644
--- a/src/input/Edi.h
+++ b/src/input/Edi.h
@@ -105,6 +105,9 @@ class Edi : public InputBase, public RemoteControllable {
// State variable used in prebuffering-based buffer management
bool m_is_prebuffering = true;
+ // Display the 'size mismatch' warning only once
+ bool m_size_mismatch_printed = false;
+
/* When using prebuffering, consider the buffer to be full on the
* receive side if it's above the overrun threshold.
*