From 2fdc643e7c01a3213aa749b7582255ccc30249e4 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Mon, 20 Mar 2023 06:41:59 -0500 Subject: [PATCH] jicofo: use bool instead of string for codec flags (#1507) --- jicofo/rootfs/defaults/jicofo.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index 04de79f..85d9951 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -87,17 +87,17 @@ jicofo { video { {{ if .Env.ENABLE_CODEC_VP8 }} vp8 { - enabled = "{{ .Env.ENABLE_CODEC_VP8 }}" + enabled = {{ .Env.ENABLE_CODEC_VP8 | toBool }} } {{ end }} {{ if .Env.ENABLE_CODEC_VP9 }} vp9 { - enabled = "{{ .Env.ENABLE_CODEC_VP9 }}" + enabled = {{ .Env.ENABLE_CODEC_VP9 | toBool }} } {{ end }} {{ if .Env.ENABLE_CODEC_H264 }} h264 { - enabled = "{{ .Env.ENABLE_CODEC_H264 }}" + enabled = {{ .Env.ENABLE_CODEC_H264 | toBool }} } {{ end }} } @@ -105,7 +105,7 @@ jicofo { {{ if .Env.ENABLE_CODEC_OPUS_RED }} opus { red { - enabled = "{{ .Env.ENABLE_CODEC_OPUS_RED | toBool }}" + enabled = {{ .Env.ENABLE_CODEC_OPUS_RED | toBool }} } } {{ end }}