From 4c695d0a204462c0912334f8b793a33da6417a9a Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sat, 12 Feb 2022 20:54:13 +0100 Subject: [PATCH] ingest server can't start after program init --- ffplayout/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ffplayout/utils.py b/ffplayout/utils.py index fd855ce9..da55a0bc 100644 --- a/ffplayout/utils.py +++ b/ffplayout/utils.py @@ -241,9 +241,6 @@ def load_config(): lower_third.style = cfg['text']['style'] lower_third.regex = cfg['text']['regex'] - ingest.enable = cfg['ingest']['enable'] - ingest.stream_input = shlex.split(cfg['ingest']['stream_input']) - return cfg @@ -296,6 +293,9 @@ def pre_audio_codec(): return ['-c:a', 's302m', '-strict', '-2', '-ar', '48000', '-ac', '2'] +ingest.enable = _cfg['ingest']['enable'] +ingest.stream_input = shlex.split(_cfg['ingest']['stream_input']) + pre.w = _cfg['processing']['width'] pre.h = _cfg['processing']['height'] pre.aspect = _cfg['processing']['aspect']