Updated Input class with preRun() and checkArguments() instead of single setup() function

This commit is contained in:
Thulinma 2017-07-22 18:53:05 +02:00
parent 169830bd15
commit 45e4cddec9
14 changed files with 36 additions and 21 deletions

View file

@ -720,7 +720,7 @@ namespace Mist {
}
}
bool inputBuffer::setup() {
bool inputBuffer::preRun() {
std::string strName = config->getString("streamname");
Util::sanitizeName(strName);
strName = strName.substr(0, (strName.find_first_of("+ ")));