summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-16 20:09:01 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-16 20:09:01 +0200
commita90c2b99d437069b30f01e6153eb8013eb359234 (patch)
tree1c0c57e1a03ac1a533a19541c828c5de7702589a
parenta7ee04db7d76cf90b91ba8a78b1afb5bff15cb85 (diff)
downloaddabmux-a90c2b99d437069b30f01e6153eb8013eb359234.tar.gz
dabmux-a90c2b99d437069b30f01e6153eb8013eb359234.tar.bz2
dabmux-a90c2b99d437069b30f01e6153eb8013eb359234.zip
Initialise zmq inputs to prebuffering
-rw-r--r--src/dabInputZmq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabInputZmq.h b/src/dabInputZmq.h
index d13029d..fdd0f1b 100644
--- a/src/dabInputZmq.h
+++ b/src/dabInputZmq.h
@@ -168,7 +168,7 @@ class DabInputZmqBase : public DabInputBase, public RemoteControllable {
m_enable_input(true),
m_config(config),
m_stats(m_name),
- m_prebuf_current(0) {
+ m_prebuf_current(config.prebuffering) {
RC_ADD_PARAMETER(enable,
"If the input is enabled. Set to zero to empty the buffer.");