From 384836635f91d180f8e4fa0f2335161e3cdec71b Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 16 May 2018 11:11:37 +0200 Subject: [PATCH] *-exec: inputs now correctly throw away stderr, preventing ffmpeg lockups --- src/input/input_h264.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/input_h264.cpp b/src/input/input_h264.cpp index 87f149be..bf950959 100644 --- a/src/input/input_h264.cpp +++ b/src/input/input_h264.cpp @@ -42,8 +42,8 @@ namespace Mist{ } args[argCnt] = 0; - int fin = -1, fout = -1, ferr = -1; - inputProcess = Util::Procs::StartPiped(args, &fin, &fout, &ferr); + int fin = -1, fout = -1; + inputProcess = Util::Procs::StartPiped(args, &fin, &fout, 0); myConn = Socket::Connection(-1, fout); }else{ myConn = Socket::Connection(fileno(stdout), fileno(stdin));