*-exec: inputs now correctly throw away stderr, preventing ffmpeg lockups

This commit is contained in:
Thulinma 2018-05-16 11:11:37 +02:00
parent 0c41fee7c8
commit 384836635f

View file

@ -42,8 +42,8 @@ namespace Mist{
} }
args[argCnt] = 0; args[argCnt] = 0;
int fin = -1, fout = -1, ferr = -1; int fin = -1, fout = -1;
inputProcess = Util::Procs::StartPiped(args, &fin, &fout, &ferr); inputProcess = Util::Procs::StartPiped(args, &fin, &fout, 0);
myConn = Socket::Connection(-1, fout); myConn = Socket::Connection(-1, fout);
}else{ }else{
myConn = Socket::Connection(fileno(stdout), fileno(stdin)); myConn = Socket::Connection(fileno(stdout), fileno(stdin));