From 0aae9af1090e20b493657a203f9f08124e92cd3b Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Fri, 18 Feb 2022 16:45:09 +0100 Subject: [PATCH] add more infos about missing config --- src/utils/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/config.rs b/src/utils/config.rs index 0575218c..58d5a9ae 100644 --- a/src/utils/config.rs +++ b/src/utils/config.rs @@ -116,7 +116,7 @@ pub fn get_config() -> Config { if !Path::new(&config_path).is_file() { println!( - "{} '{config_path}'\n{}", + "{} '{config_path}'\n{}\nYou found it in 'assets' folders...", "ffplayout config doesn't exists:", "Put 'ffplayout.yml' in '/etc/playout/' or beside the executable!" ); @@ -129,7 +129,7 @@ pub fn get_config() -> Config { let fps = config.processing.fps.to_string(); let bitrate = config.processing.width * config.processing.height / 10; - let settings: Vec = vec![ + let settings = vec![ "-pix_fmt", "yuv420p", "-r",