Shut down buffers if they were started using INTERNAL_ONLY notation and the parent shuts down.
This commit is contained in:
parent
dd8953faec
commit
b453788186
1 changed files with 3 additions and 0 deletions
|
@ -279,6 +279,9 @@ bool Util::startInput(std::string streamname, std::string filename, bool forkFir
|
||||||
FAIL_MSG("Forking process for stream %s failed: %s", streamname.c_str(), strerror(errno));
|
FAIL_MSG("Forking process for stream %s failed: %s", streamname.c_str(), strerror(errno));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (filename.substr(0, 21) == "push://INTERNAL_ONLY:"){
|
||||||
|
Util::Procs::remember(pid);
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
DEBUG_MSG(DLVL_DONTEVEN, "Not forking");
|
DEBUG_MSG(DLVL_DONTEVEN, "Not forking");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue