Updated Input class with preRun() and checkArguments() instead of single setup() function
This commit is contained in:
parent
169830bd15
commit
45e4cddec9
14 changed files with 36 additions and 21 deletions
|
@ -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("+ ")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue