From 66223d9a64118555928a9d9c5adb1fac66493a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 9 Feb 2022 18:42:35 +0100 Subject: [PATCH] fix(emulator): don't pipe ffmpeg stdout to true stdout --- src/emulator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emulator.py b/src/emulator.py index 157bf4e..4c95f21 100644 --- a/src/emulator.py +++ b/src/emulator.py @@ -6,7 +6,7 @@ import os import random as rd import threading import time -from subprocess import PIPE, Popen # nosec +from subprocess import PIPE, STDOUT, Popen # nosec import mgba.core import mgba.image @@ -78,11 +78,11 @@ stream = Popen( "low_delay", "-strict", "experimental", - # "-loglevel", - # "quiet", RTMP_STREAM_URI, ], stdin=PIPE, + stdout=PIPE, + stderr=STDOUT, )