diff --git a/lib/stream.cpp b/lib/stream.cpp index 566b9e53..dfd5dd37 100644 --- a/lib/stream.cpp +++ b/lib/stream.cpp @@ -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"); }