Fixed stream-less builtin files loading correctly.
This commit is contained in:
parent
3030be0384
commit
fac1727e10
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ namespace Mist {
|
||||||
if (streamIndex.mapped){
|
if (streamIndex.mapped){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (streamName.size() < 1){
|
||||||
|
return; //abort - no stream to initialize...
|
||||||
|
}
|
||||||
if (!Util::startInput(streamName)){
|
if (!Util::startInput(streamName)){
|
||||||
DEBUG_MSG(DLVL_FAIL, "Opening stream disallowed - aborting initalization");
|
DEBUG_MSG(DLVL_FAIL, "Opening stream disallowed - aborting initalization");
|
||||||
onFail();
|
onFail();
|
||||||
|
|
Loading…
Add table
Reference in a new issue