summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2020-11-03 01:01:22 +0200
committersfan5 <sfan5@live.de>2020-11-03 15:07:26 +0100
commit172146e9f7a231b5de21921d883612d18b13a717 (patch)
tree3f6df0c735ed4d16678782978b22fa9ffa415e2b
parent73be20143eea2c0232b63c2617e8604a44217e57 (diff)
downloadmpv-172146e9f7a231b5de21921d883612d18b13a717.tar.bz2
mpv-172146e9f7a231b5de21921d883612d18b13a717.tar.xz
vd_lavc: add AV1 to the default allowed hwdec codec list
Now that the first hwaccel implementations are coming in, it makes sense to allow this format.
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index e0732397a8..f965e00e5a 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -135,7 +135,7 @@ const struct m_sub_options vd_lavc_conf = {
.framedrop = AVDISCARD_NONREF,
.dr = 1,
.hwdec_api = "no",
- .hwdec_codecs = "h264,vc1,hevc,vp9",
+ .hwdec_codecs = "h264,vc1,hevc,vp9,av1",
// Maximum number of surfaces the player wants to buffer. This number
// might require adjustment depending on whatever the player does;
// for example, if vo_gpu increases the number of reference surfaces for