aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.env.example4
-rw-r--r--core/entrypoint.sh4
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}