Shut down buffers if they were started using INTERNAL_ONLY notation and the parent shuts down.

This commit is contained in:
Thulinma 2018-01-15 12:37:48 +01:00
parent dd8953faec
commit b453788186

View file

@ -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));
return false;
}
if (filename.substr(0, 21) == "push://INTERNAL_ONLY:"){
Util::Procs::remember(pid);
}
}else{
DEBUG_MSG(DLVL_DONTEVEN, "Not forking");
}