From 4d61ac4bb25993d33073485d07e2ceacb837af86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 6 Sep 2021 16:47:40 -0500 Subject: update config --- config.env.example | 4 +++- core/entrypoint.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config.env.example b/config.env.example index 6018989..99e74b5 100644 --- a/config.env.example +++ b/config.env.example @@ -24,7 +24,9 @@ DEFAULT_COMMENT_SORTING=0 THEATER_MODE=True DEFAULT_RESOLUTION=1080 -PREFERRED_VIDEO_CODEC=0 +CODEC_RANK_H264=3 +CODEC_RANK_VP=2 +CODEC_RANK_AV1=1 PREFER_UNI_SOURCES=True USE_VIDEO_PLAYER=2 diff --git a/core/entrypoint.sh b/core/entrypoint.sh index 6d9be44..5db47d6 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -56,7 +56,9 @@ theater_mode = ${THEATER_MODE:-True} default_resolution = ${DEFAULT_RESOLUTION:-2160} -preferred_video_codec = ${PREFERRED_VIDEO_CODEC:-0} +codec_rank_h264 = ${CODEC_RANK_H264:-3} +codec_rank_vp = ${CODEC_RANK_VP:-2} +codec_rank_av1 = ${CODEC_RANK_AV1:-1} prefer_uni_sources = ${PREFER_UNI_SOURCES:-True} -- cgit v1.2.3