Added FFMPEG process

This commit is contained in:
Ramoe 2018-08-27 14:11:28 +02:00 committed by Thulinma
parent e4471627ca
commit 2a09128830
4 changed files with 921 additions and 0 deletions

View file

@ -200,6 +200,14 @@ namespace Controller {
capabilities["connectors"].removeMember(entryName);
}
}
if ((*it).substr(0, 8) == "MistProc"){
arg_one = Util::getMyPath() + (*it);
conn_args[0] = arg_one.c_str();
capabilities["processes"][(*it).substr(8)] = JSON::fromString(Util::Procs::getOutputOf((char**)conn_args));
if (capabilities["processes"][(*it).substr(8)].size() < 1){
capabilities["processes"].removeMember((*it).substr(7));
}
}
if ((*it).substr(0, 6) == "MistIn" && (*it) != "MistInfo"){
arg_one = Util::getMyPath() + (*it);
conn_args[0] = arg_one.c_str();