From 5bed312e0b64894672958d7746f42b03de69448e Mon Sep 17 00:00:00 2001 From: Jan Stabenow Date: Wed, 6 Jul 2022 10:18:09 +0200 Subject: [PATCH] Fix tee_muxer input --- restream/app/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restream/app/process.go b/restream/app/process.go index d9178f2e..cf7769a8 100644 --- a/restream/app/process.go +++ b/restream/app/process.go @@ -94,7 +94,7 @@ func replace(what, placeholder, value string) string { if matches[2] != `\` { v = strings.ReplaceAll(v, `\`, `\\`) } - v = strings.ReplaceAll(v, matches[2], `\`+matches[2]) + v = strings.ReplaceAll(v, matches[2], `\\`+matches[2]) } return strings.Replace(match, match, v, 1)