Fixed manual push corruption
This commit is contained in:
parent
bb895c7c4b
commit
47ed55c637
1 changed files with 3 additions and 1 deletions
|
@ -275,7 +275,9 @@ namespace Controller{
|
||||||
for (std::map<std::string, uint8_t>::iterator it = activeStreams.begin(); it != activeStreams.end(); ++it){
|
for (std::map<std::string, uint8_t>::iterator it = activeStreams.begin(); it != activeStreams.end(); ++it){
|
||||||
std::string streamname = it->first;
|
std::string streamname = it->first;
|
||||||
if (pStr == streamname || (*pStr.rbegin() == '+' && streamname.substr(0, pStr.size()) == pStr)){
|
if (pStr == streamname || (*pStr.rbegin() == '+' && streamname.substr(0, pStr.size()) == pStr)){
|
||||||
startPush(streamname, target);
|
std::string tmpName = streamname;
|
||||||
|
std::string tmpTarget = target;
|
||||||
|
startPush(tmpName, tmpTarget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue