*-exec: inputs now correctly throw away stderr, preventing ffmpeg lockups
This commit is contained in:
parent
0c41fee7c8
commit
384836635f
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Reference in a new issue