fix(emulator): don't pipe ffmpeg stdout to true stdout
This commit is contained in:
parent
9094ba0cb3
commit
66223d9a64
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue