diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index eb67d220..307b5a78 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -39,7 +39,7 @@ namespace Mist { capa["codecs"][0u][2u].append("*"); isBuffer = true; singleton = this; - bufferTime = 0; + bufferTime = 50000; cutTime = 0; } @@ -540,6 +540,7 @@ namespace Mist { tmpNum = config->getOption("bufferTime").asInt(); } } + if (tmpNum < 1000){tmpNum = 1000;} //if the new value is different, print a message and apply it if (bufferTime != tmpNum) { DEBUG_MSG(DLVL_DEVEL, "Setting bufferTime from %u to new value of %lli", bufferTime, tmpNum);