mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-23 00:20:31 +00:00
Add AV1 as a preferred codec
This commit is contained in:
parent
efe059a34d
commit
f4048381f0
2 changed files with 6 additions and 1 deletions
|
@ -390,6 +390,11 @@ class PlayUtils(object):
|
|||
elif not settings("transcode_h265.bool"):
|
||||
codecs.insert(1, "hevc")
|
||||
|
||||
if settings("videoPreferredCodec") == "AV1":
|
||||
codecs.insert(0, "av1")
|
||||
elif not settings("transcode_av1.bool"):
|
||||
codecs.append("av1")
|
||||
|
||||
if settings("transcode_mpeg2.bool"):
|
||||
codecs.remove("mpeg2video")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue