remove try from ffplay process

This commit is contained in:
jb-alvarado 2018-11-25 19:34:18 +01:00
parent edc81f471f
commit 1c851fda13

View File

@ -678,16 +678,11 @@ def main():
try:
if _playout.preview:
# preview playout to player
try:
playout = Popen(
['ffplay', '-i', 'pipe:0'],
stdin=mbuffer.stdout,
bufsize=0
)
except OSError as e:
logger.error(e)
mbuffer.terminate()
sys.exit(1)
playout = Popen(
['ffplay', '-i', 'pipe:0'],
stdin=mbuffer.stdout,
bufsize=0
)
else:
# playout to rtmp
if _pre_comp.copy: