Changed sleep to wait everywhere where it was needed
This commit is contained in:
parent
3ad8317df7
commit
72de5e5b90
9 changed files with 18 additions and 18 deletions
|
@ -313,7 +313,7 @@ bool Util::startInput(std::string streamname, std::string filename, bool forkFir
|
|||
|
||||
unsigned int waiting = 0;
|
||||
while (!streamAlive(streamname) && ++waiting < 40){
|
||||
Util::sleep(250);
|
||||
Util::wait(250);
|
||||
}
|
||||
|
||||
return streamAlive(streamname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue