fix(emulator): don't pipe ffmpeg stdout to true stdout

This commit is contained in:
Laureηt 2022-02-09 18:42:35 +01:00
parent 9094ba0cb3
commit 66223d9a64
No known key found for this signature in database
GPG key ID: D88C6B294FD40994

View file

@ -6,7 +6,7 @@ import os
import random as rd import random as rd
import threading import threading
import time import time
from subprocess import PIPE, Popen # nosec from subprocess import PIPE, STDOUT, Popen # nosec
import mgba.core import mgba.core
import mgba.image import mgba.image
@ -78,11 +78,11 @@ stream = Popen(
"low_delay", "low_delay",
"-strict", "-strict",
"experimental", "experimental",
# "-loglevel",
# "quiet",
RTMP_STREAM_URI, RTMP_STREAM_URI,
], ],
stdin=PIPE, stdin=PIPE,
stdout=PIPE,
stderr=STDOUT,
) )